How to disable [RUBY] Expected: expression ?

0
11 comments
Avatar
Permanently deleted user

How to disable this kind of errors https://image.prntscr.com/image/02NM1uxrRG_D9K934vOJWQ.png  ?

0

Hello, you could disable this inspection by click Alt+Enter and then right arrow to select the option.

0
Avatar
Permanently deleted user

Thank you but with no success

0
Avatar
Permanently deleted user

0

Please try another way, run Code | Inspect code... for this file. Then select this error in the results and select Disable inspection from context menu. 

0
Avatar
Permanently deleted user


After code inspection I'm getting this result 

0

Could you please attach code sample?

0
Avatar
Permanently deleted user

it's *.html.haml file

- if true && false ||

0

Unfortunately we can't switch off syntax highlighting inspection, but it's complaining right. Why you want switch it off?

0
Avatar
Permanently deleted user

Because I have continuous of statement on the next line


- if true && false ||
- true

something like that

0

Thanks for the sample, unfortunately, this is a bug:(

Please vote for: https://youtrack.jetbrains.com/issue/RUBY-20043

0

Please sign in to leave a comment.