How to disable this kind of errors https://image.prntscr.com/image/02NM1uxrRG_D9K934vOJWQ.png ?
Hello, you could disable this inspection by click Alt+Enter and then right arrow to select the option.
Thank you but with no success
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.
After code inspection I'm getting this result
Could you please attach code sample?
it's *.html.haml file
- if true && false ||
Unfortunately we can't switch off syntax highlighting inspection, but it's complaining right. Why you want switch it off?
Because I have continuous of statement on the next line
- if true && false ||- true
something like that
Thanks for the sample, unfortunately, this is a bug:(
Please vote for: https://youtrack.jetbrains.com/issue/RUBY-20043
Please sign in to leave a comment.