summaryrefslogtreecommitdiff
path: root/.vscode
diff options
context:
space:
mode:
authorChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2021-12-22 17:53:57 +0100
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2021-12-23 14:34:12 +0100
commit8f6c5861a107a01234e6a0500c9bca4b03df926e (patch)
tree1e23cb1cb18d030c49d92901467ddba52dd760fe /.vscode
parent46ebf8c0ad191f9d9d94c898475dd953fb48d9fd (diff)
vscode: set editor to not show newline at end-of-file as empty line
and also tell it to always add newline at EOF to be consistent with traditional editors like vim and others Change-Id: Iba7e9a3778229c72c06981bd95460980f8c4e9d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127333 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/vs-code-template.code-workspace.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vscode/vs-code-template.code-workspace.in b/.vscode/vs-code-template.code-workspace.in
index 80216adf9555..771080251a95 100644
--- a/.vscode/vs-code-template.code-workspace.in
+++ b/.vscode/vs-code-template.code-workspace.in
@@ -62,6 +62,9 @@
"editor.rulers": [
100
],
+ // files in the repo should in general have a newline at end-of-file
+ "files.insertFinalNewline": true,
+ "editor.renderFinalNewline": false,
"gitlens.autolinks": [
{
"prefix": "tdf#",