Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Quick fix all intention errors

As of now I am pressing alt + enter per intention fix in my source code.

Sometimes I have a lot of the same issues in a file and I'm wondering if a quick fix can be done for a whole package or source file.

Screenshot

Intellij Intention

Thanks

like image 279
Hakkar Avatar asked Jun 20 '13 14:06

Hakkar


1 Answers

There should be a "fix all" option in the sub-menu (if you're navigating via keyboard, just press the "right" arrow key to get the sub-menu then select the fix all option).

enter image description here

like image 112
Shorn Avatar answered Oct 17 '22 23:10

Shorn