xgqfrms / git

git all in one
https://git.xgqfrms.xyz
MIT License
2 stars 1 forks source link

vscode disabled auto insert last new line #43

Open xgqfrms opened 1 year ago

xgqfrms commented 1 year ago

vscode disabled auto insert last new line

markdown

.vscode/settings.json

{
  //...
  // ✅ 禁用
  "editor.renderFinalNewline": false,
}

.editorconfig


root = true

[*]
charset = utf-8
indent_style = space
# indent_size = 4
indent_size = 2
end_of_line = lf
# ✅ 禁用
insert_final_newline = false
trim_trailing_whitespace = true

[*.md]
charset = utf-8
indent_style = space
indent_size = 2
end_of_line = lf
insert_final_newline = false
trim_trailing_whitespace = true

https://editorconfig.org/

xgqfrms commented 1 year ago

https://stackoverflow.com/questions/44704968/visual-studio-code-insert-newline-at-the-end-of-files

xgqfrms commented 1 year ago

https://github.com/Microsoft/vscode/issues/72995

https://github.com/microsoft/vscode/issues/12076#issuecomment-340037747

xgqfrms commented 1 year ago

vscode-insert-laste-new-line-bug