Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Add final modifier upon reformatting

$
0
0

I'm surprised Code Style has no option to add the 'final' modifier upon formatting (ctrl+alt+L). I just see it for generated code but not for already existing code.

There are two plugins available but neither of them works.

 

Inspections > 'Field may be final' and 'Local variable or parameter can be final' are not as handy as just have it formatted like the other Code Style options.

 

Could you please add this as a feature in an upcoming version of IntelliJ? Eclipse has this already implemented for ages I think. 

 

Thank you very much and best regards


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>