When I am creating a constant in IntelliJ (using Ctrl+Alt+C), by default it is public static final
. How can I make it private static final
instead?
After Ctrl+Alt+C, press this shortcut again, which shows dialog with more options.
There is a visibility section. If you select private here, it will be the new default when extracting constants the next time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With