Hi everyone, I get Lint `"IllegalIdentifier"` war...
# android
n
Hi everyone, I get Lint
"IllegalIdentifier"
warning when I use spaces in function naming. Is there any way to fix this without suppressing this warning ? Thanks in advance.
k
nebojsa.vuksic: I think the warning is there for a reason. on android, functions can't have spaces in names
n
@kirillrakhman I know that 🙂 But Kotlin allows this naming convention with usage of escape identifier. This is very suitable for testing 🙂 I just wanted to know is there any custom Lint rule, so that this warning could be avoided ?
l
you can go to
Preferences > Editor > Inspections > "Illegal Android Identifier"
and un-error it for Test scope
👍 1
n
That helped. Thanks guys 🙂