Reputation: 12258
Basically, Intellij is making my code extremely hard to read by underlining lots of my code. It kind of makes a chess board on the left of my screen as well! =>
I have looked through the code editor settings but I can't find one under scala which controls these underlines. I am using the twilight theme but I have only just noticed the issue. Any ideas Intellij buffs?
Upvotes: 28
Views: 8280
Reputation: 3094
IntelliJ 12:
Settings -> Editor -> Colors & Fonts -> Scala -> Implicit Conversions Uncheck "Effects -> Underline"
IntellIJ 11 or Before:
Settings -> Code Style -> Scala -> Other -> Other settings -> Highlight methods added via implicit conversion. However anyway it's usability problem of this feature. Something different should be done to highlight implicit conversion for such places.
Upvotes: 34
Reputation: 7472
In Idea 12, it can be disabled at Settings | Editor | Colors&Fonts | Scala | Implicit conversion. I just unchecked Effects but it's also possible to choose something else than Underscore.
Hope that helps.
Upvotes: 2
Reputation: 97188
The attributes used for different kinds of highlighting are configured under Settings | Editor | Colors & Fonts.
Upvotes: 3
Reputation: 17444
To disable underlining in JSP/HTML I usually click the little man in a hat in the bottom right corner and set highlighting levels to None:
I think it should be the same with Scala
Upvotes: 0