nope/PREPARE_VSCODE.md

33 lines
1.3 KiB
Markdown
Raw Normal View History

# 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
}
```