Add VSCode plugin list and fixed jsbeautify config.
authorSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 24 Nov 2017 09:50:13 +0000 (10:50 +0100)
committerSebastien Douheret <sebastien.douheret@iot.bzh>
Fri, 24 Nov 2017 09:50:13 +0000 (10:50 +0100)
.vscode/settings.json
webapp/.jsbeautifyrc [new file with mode: 0644]
webapp/README.md

index 5d43dd0..7ef453d 100644 (file)
@@ -5,6 +5,10 @@
   "editor.tabSize": 2,
   // Insert spaces when pressing Tab. This setting is overriden based on the file contents when `editor.detectIndentation` is on.
   "editor.insertSpaces": true,
+
+  // .jsbeautifyrc not at root directory but under webapp/
+  "beautify.config": "webapp/.jsbeautifyrc",
+
   // Configure glob patterns for excluding files and folders.
   "files.exclude": {
     ".tmp": true,
diff --git a/webapp/.jsbeautifyrc b/webapp/.jsbeautifyrc
new file mode 100644 (file)
index 0000000..ef4253d
--- /dev/null
@@ -0,0 +1,4 @@
+{
+  "indent_size": 2,
+  "space_around_combinator": true
+}
index aa33ca9..d543b03 100644 (file)
@@ -9,6 +9,20 @@ This is the web application dashboard for Cross Development System.
 
 > sudo npm install --global @angular/cli
 
+This project has been developed using [Visual Studio Code](https://code.visualstudio.com/download). Here is the list of
+recommended VSCode plugins that are used to improved quality of written code :
+
+- ext install HookyQR.beautify
+- ext install Mikael.Angular-BeastCode
+- ext install eg2.tslint
+- ext install streetsidesoftware.code-spell-checker
+- ext install DavidAnson.vscode-markdownlint
+
+And some others useful plugins:
+
+- ext install patrys.vscode-code-outline
+- ext install eamodio.gitlens
+
 ## 2. Installing dependencies
 
 Install dependencies by running the following command: