--When writing Java code, I want to add final to the variables that I want to be immutable. ――However, it is difficult to write final every time, so I want to add final automatically when saving a file.
Save Actions Since the plugin is used, press "IntelliJ IDEA"-> "Preferences"-> "Plugins" and save. Install Actions
Press "IntelliJ IDEA"-> "Preferences"-> "Other Settings"-> "Save Actions" Check the following items and press "Apply", "OK"
Now, when you execute "Cmd + s", final will be added automatically.
Recommended Posts