Home > database >  Disable suggestion/syntax highlighting in both Intellij Idea and Android studio
Disable suggestion/syntax highlighting in both Intellij Idea and Android studio

Time:12-17

I wish to disable highlighting such as

  • "change var to val"
  • "can be inlined"

and the likes. How do I do that? (I don't want to disable error highlighting)

I tried disabling some "inspection" in the settings, but it didn't do what I wanted.

CodePudding user response:

  1. Alt Enter on the warning
  2. More actions
  3. Disable inspection, or "Suppress for file"

enter image description here

  • Related