Save actions in IntelliJ IDEA

前端 未结 7 679
挽巷
挽巷 2020-12-24 10:13

The only thing that exists in Eclipse, which I miss in IntelliJ IDEA is \"save actions\" - possibility to do some actions (usually formatting) when a file is saved.

7条回答
  •  攒了一身酷
    2020-12-24 11:09

    It doesn't exist as in Eclipse, but you can format your code on commit, and the shortcut ctrl+alt+L will allow you to format easily your code.
    After a time formatting the code will be a reflex and you won't even think about it.


    On the same topic :

    • Intellij reformat on file save

提交回复
热议问题