Disable whitespaces hilighter

Hi,
I have accidentally switched some sort of spaces green highlight.
How do I switch it off?

This is what I see:

And I can add that the Appearance: show whitespace option is already off.

 

 

0
3 comments

I assume that it might be some kind of a language injection you unintentionally created.
Please check if you have any suspicious entires at Settings | Editor | Language Injections that are in the IDE scope.

If it's not the case, please place the caret into the green square and then invoke Help | Find Action | Jump to Colors & Fonts, it'll show you the color properties that affect this particular symbol - anything green in there?

0
Avatar
Permanently deleted user

Thank you for your answer Eugene, 
actually I have solved it. 
After losing 30 minutes trying to figure out how to fix it I realized that the problem was related just to that file.
When I closed and reopened the file the odd highlight went away.

0

I had this as well in my java code. 

It was caused by a white space in the search field. So intellij is just highlighting all the spaces as the search result.

 

1

Please sign in to leave a comment.