Writing Helper File to install required addons

This commit is contained in:
Martin Karkowski 2020-12-31 11:24:20 +01:00
parent 34008eb7c6
commit 578e98aea0

33
PREPARE_VSCODE.md Normal file
View File

@ -0,0 +1,33 @@
# Install VS Code Extensions:
1. Open a `cmd` and install perform:
```
code --install-extension oouo-diogo-perdigao.docthis
code --install-extension edwardhjp.vscode-author-generator
code --install-extension dbaeumer.vscode-eslint
code --install-extension rvest.vs-code-prettier-eslint
code --install-extension
code --install-extension
code --install-extension
code --install-extension
```
# Configure Extensions:
## vscode-author-generator:
To configure the addon perform the following steps:
- `Preferences` -> `Settings` to add your own settings
- `author-generator.author` author name, will replace `[author]` in your `*.tpl` file
- `author-generator.email`. author email, will replace `[email]` in your `*.tpl` file
- `author-generator.dateFormat` will change your date format(default format is `YYYY-MM-DD HH:mm:ss`)
Copy the `.vscode\ts.tpl` to `%USERPROFILE%\.vscode\extensions\{edwardhjp.vscode-author-generator-version}` (Replace {edwardhjp.vscode-author-generator-version} with the currently installed version)
## vscode-eslint
- run `npm install -g eslint`
- executing the command `ESLint: Manage Library Execution` from the command palette by pressing `CTRL+SHIFT+P`
- Edit the User-Settings: The setting below turns on Auto Fix for all providers including ESLint:
```json
"editor.codeActionsOnSave": {
"source.fixAll": true
}
```