Ensure line feed at file end on Save
Answered
Using latest (2018.1) IDEA , the Ensure line feed at file end on Save option seems to do nothing. I can't find any reason for this.
Please sign in to leave a comment.
Do you mean the line feed is not appended at the end of file when you have the option enabled?
Do you use any 3rd plugins? Do you use .editorconfig? If you do, please check with them disabled. Please try it also with several different projects and file types - will you get the same behaviour? Please attach somewhere the idea.log after IDE restart and your File | Export Settings... jar.
The problem seems to be with the IdeaVIM plugin. New lines are only inserted when saving while in insert mode.
Thanks for the information. Please see this comment about the behavior when working in VIM emulation mode.
It was .editorconfig for me. Thanks! Works now with: