Inspect Code...

Is there a way to tell IDEA to automatically perform any "Quick Fixes" found during Inspect Code?  I find it very annoying to have to walk the tree in order to fix the different "easy" fixes.

Thanks!

4 comments
Comment actions Permalink

Hello Angella,

You can execute quick fix for the group of similar reports:
quickfix.png

Will this be enough?

Regards,
Kirill

0
Comment actions Permalink

Not really.  For example, one of our standards is that variables and parameters should be final if possible, but that comes up under two or three different "problem groups", so I still have to drill-down to the group heading and then activate the "Quick Fix".  What I'd like is a setting to say, if this has a Quick Fix, do it automatically.

Should I open an enhancement request?

0
Comment actions Permalink

Hi Angella,

aderington wrote:

Is there a way to tell IDEA to automatically perform any "Quick Fixes" found during Inspect Code?  I find it very annoying to have to walk the tree in order to fix the different "easy" fixes.

Thanks!


Please look at my feature request "Code->QuickFix/Cleanup Code". Please add your vote if it would satisfy your needs.



http://youtrack.jetbrains.net/issue/IDEA-38653

Regards,
-Alex

0
Comment actions Permalink

Thank you, I've voted for that feature request.  Hope it gets implemented soon, because it is about the only thing that I think Eclipse does better than IDEA :)

0

Please sign in to leave a comment.