Wrong behaviour with insert_final_newline = true
and "files.autoSave": "afterDelay"
#330
Open
2 tasks done
Please fill-in this template.
code --disable-extensions
and the issue did NOT present itself.Issue
1.63.2
v0.16.4
Root
.editorconfig
FileAre there any other relevant
.editorconfig
files in your project? Noeditor.insertSpaces
true
____
____
editor.tabSize
4
_
_
editor.trimAutoWhitespace
true
____
____
files.autoSave
"off"
"afterDelay"
"___"
files.insertFinalNewline
false
_____
_____
files.trimTrailingWhitespace
false
_____
_____
File opened
./file.ts
Expected behavior
When typing on last line in file and when (on auto save) added new
insert_final_newline = true
text cursor will stay where I stop typing.Actual behavior
When typing something on last line of file and stop typing after auto save (after delay) will be added new empty line (due config
insert_final_newline = true
) and text cursor will be moved on that new empty line so need manually back to previous line to continue typing.The text was updated successfully, but these errors were encountered: