You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quite often I find myself commenting out chunks of of code while developing, and when I run my tests or leave focus, intellij automatically saves the file, and then that triggers the formatter and optimizing the imports. It's rather inconvenient for me sometimes because when I uncomment the chunk of code, the imports that got automatically optimized out, don't come back, and so I have to individually import them all again.
I'm also not always a fan of my code constantly going from single line to multi line in the middle of developing something, when the line length is around the single line length amount (thus small changes can lead to the thing I just edited being moved to a different spot).
Manually turning off the save actions doesn't work as when the formatter is run, it automatically reenables those options.
What did you want to happen?
I'd love to be able to configure 2 settings (one for the formatting, and one for the import optimization) in the intellij plugin to disable the save actions autoconfiguration so that it doesn't prematurely optimize my source code. The biggest benefit to me would be that I don't have to worry about things being moved behind my back when I might not care about the appearance of the code at the moment (for instance, when I'm trying out multiple ideas and don't want to fully get rid of the others while I explore one).
The text was updated successfully, but these errors were encountered:
What happened?
Quite often I find myself commenting out chunks of of code while developing, and when I run my tests or leave focus, intellij automatically saves the file, and then that triggers the formatter and optimizing the imports. It's rather inconvenient for me sometimes because when I uncomment the chunk of code, the imports that got automatically optimized out, don't come back, and so I have to individually import them all again.
I'm also not always a fan of my code constantly going from single line to multi line in the middle of developing something, when the line length is around the single line length amount (thus small changes can lead to the thing I just edited being moved to a different spot).
Manually turning off the save actions doesn't work as when the formatter is run, it automatically reenables those options.
What did you want to happen?
I'd love to be able to configure 2 settings (one for the formatting, and one for the import optimization) in the intellij plugin to disable the save actions autoconfiguration so that it doesn't prematurely optimize my source code. The biggest benefit to me would be that I don't have to worry about things being moved behind my back when I might not care about the appearance of the code at the moment (for instance, when I'm trying out multiple ideas and don't want to fully get rid of the others while I explore one).
The text was updated successfully, but these errors were encountered: