Run "Reformat Code" (Ctrl + Alt + L) automatically on code save.

Hello,

It would be really handy if there were a way to automatically run the code formatter when I save code. Is there a way to do this? I wasn't able to find one while searching through the options, but maybe I missed something.

Thanks!

0
Avatar
Permanently deleted user

Hi,

there is no such option.  One of the reasons is that we have autosave and reformatting on save may cause "unexpected changes under you cursor" :(

Oleg.

0

请先登录再写评论。