From a3dd155428ef5c0b9ca1ca2c866cdf6f367f6191 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 24 Nov 2017 10:50:13 +0100 Subject: Add VSCode plugin list and fixed jsbeautify config. --- .vscode/settings.json | 4 ++++ webapp/.jsbeautifyrc | 4 ++++ webapp/README.md | 14 ++++++++++++++ 3 files changed, 22 insertions(+) create mode 100644 webapp/.jsbeautifyrc diff --git a/.vscode/settings.json b/.vscode/settings.json index 5d43dd0..7ef453d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -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 index 0000000..ef4253d --- /dev/null +++ b/webapp/.jsbeautifyrc @@ -0,0 +1,4 @@ +{ + "indent_size": 2, + "space_around_combinator": true +} diff --git a/webapp/README.md b/webapp/README.md index aa33ca9..d543b03 100644 --- a/webapp/README.md +++ b/webapp/README.md @@ -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: -- cgit 1.2.3-korg