Browse Source

Documentation: Improve VS Code settings

  - Set commit message length to 72 according to CONTRIBUTING.md
  - Format trailing new lines according to check-newlines-at-eof.py
dotjpg3141 3 năm trước cách đây
mục cha
commit
24a98b888a
1 tập tin đã thay đổi với 7 bổ sung1 xóa
  1. 7 1
      Documentation/VSCodeConfiguration.md

+ 7 - 1
Documentation/VSCodeConfiguration.md

@@ -125,7 +125,13 @@ These belong in the `.vscode/settings.json` of Serenity.
     "C_Cpp.clang_format_style": "file",
     // Tab settings
     "editor.tabSize": 4,
-    "editor.useTabStops": false
+    "editor.useTabStops": false,
+    // format trailing new lines
+    "files.trimFinalNewlines": true,
+    "files.insertFinalNewline": true,
+    // git commit message length
+    "git.inputValidationLength": 72,
+    "git.inputValidationSubjectLength": 72
 }
 ```