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!

1 comment
Comment actions Permalink

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

Please sign in to leave a comment.