Inspection toggling macro

Hi all. During my regular workflow, I personally have two states of work. 1: coding, and 2: fixing my code. When coding, I like to completely disable inspections (except for spell check) to reduce visual clutter. When fixing my code, I like to enable inspections. From what I can tell, the only way to do this is to go into the settings and toggle each inspection. 

So what I want I suppose is a macro that:

  1. Enable all auto inspections
  2. Run inspection report
  3. Disable all auto inspections

Does this make sense? Does anyone have a suggestion on how to accomplish this, or perhaps some words to sway my approach?

 

Thanks

0

Hello,

Have you considered switching the Highlight level?

0

This is nice, thank you, but as far as I can tell it only toggles on the active file. Do you know if there is an equivalent to do this globally? This suppresses highlighting, but do you know if it would still be running inspections in the background?

0

请先登录再写评论。