I wanted to write a feature request, but it this one seams too personal. So I want to ask about the way IDEA-based ides (currently testing PhpStorm) save files. Is it automatic? I noticed that I don't have to press ctrl-s to save files.
That leads to a little problem. I'm used to having cursor not able to go past the end of the line. But I'm also used to editors trimming white space on save. With autosave this is not possible because at the moment the save happens the cursor will not be indented anymore. So consider this code:
(underscore shows white space)
So I want to put empty line between these two lines. I go to the end of first line and press enter:
Now I end up with white space. Allowing the cursor to go past the end of the line fixes this problem, but now I have to press End every time I use mouse to go to the end of the line. That's not too often - I use mostly keyboard, but it's what I'm used to.
The problem would be resolved with "trim trailing space on save" option.
Of course I could get used to having the cursor after the end of the line, but I'm considering IDEA IDEs because it's highly customizable and I don't have to get used to anything. I just configure it as the editors I'm used to and it just works.