useful for:
- windows
with the following languages :
- python
- javascript
- typescript
- VueJs
- html/css/scss
| { | |
| /* GLOBAL PART */ | |
| /* ----------- */ | |
| "editor.detectIndentation": true, | |
| "editor.fontLigatures": true, | |
| "editor.tabSize": 4, | |
| "editor.useTabStops": true, | |
| "editor.fontFamily": "Fira Code", | |
| "editor.fontSize": 12, | |
| "editor.wordWrap": "on", | |
| "editor.formatOnPaste": true, | |
| "editor.multiCursorModifier": "ctrlCmd", | |
| "editor.snippetSuggestions": "top", | |
| "editor.formatOnSave": true, | |
| "editor.formatOnType": true, | |
| "editor.largeFileOptimizations": false, | |
| "explorer.confirmDelete": false, | |
| "explorer.confirmDragAndDrop": false, | |
| "workbench.colorTheme": "Sublime Monokai", // extension | |
| "workbench.iconTheme": "vscode-icons", | |
| "workbench.editor.closeOnFileDelete": true, | |
| "workbench.editor.highlightModifiedTabs": true, | |
| "window.menuBarVisibility": "default", | |
| "window.openFilesInNewWindow": "default", | |
| "files.eol": "\n", | |
| "debug.inlineValues": true, | |
| "zenMode.hideTabs": false, | |
| "breadcrumbs.enabled": true, | |
| /* TERMINAL PART */ | |
| /* ------------- */ | |
| "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
| "terminal.external.windowsExec": "C:\\Programmes\\Git\\git-bash.exe", | |
| "terminal.integrated.fontFamily": "fira mono for Powerline", // custom font needs to be installed. | |
| /* TODOHIGHTLIGHTS EXTENSION */ | |
| /* -------------------- */ | |
| "todohighlight.keywords": [ | |
| { | |
| "text": "TODO:", | |
| "color": "red", | |
| "backgroundColor": "#545250", | |
| "borderRadius": "3px", | |
| "border": "1px solid red" | |
| }, | |
| { | |
| "text": "NOTE:", | |
| "color": "#ff0000", | |
| "backgroundColor": "transparent" | |
| }, | |
| { | |
| "text": "HACK:", | |
| "color": "blue", | |
| "backgroundColor": "white", | |
| "border": "1px solid blue", | |
| "borderRadius": "3px" | |
| } | |
| ], | |
| /* FRONTEND PART */ | |
| /* ------------- */ | |
| /* PRETTIER */ | |
| "prettier.semi": true, | |
| "[html]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode", | |
| "editor.tabSize": 2 | |
| }, | |
| /* SCSS */ | |
| "[scss]": { | |
| "editor.defaultFormatter": "HookyQR.beautify" | |
| }, | |
| /* JS */ | |
| "eslint.options": { | |
| "rules": { | |
| "valid-jsdoc": [ | |
| "error", | |
| { | |
| "requireParamDescription": false, | |
| "requireReturnDescription": false, | |
| "requireReturn": false | |
| } | |
| ], | |
| "no-extra-parens": 0 | |
| } | |
| }, | |
| "eslint.validate": ["javascript", "javascriptreact", "vue"], | |
| "javascript.updateImportsOnFileMove.enabled": "always", | |
| "[javascript]": { | |
| "editor.tabSize": 2, | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| /* TYPESCRIPT */ | |
| "[typescript]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| "typescript.format.insertSpaceAfterTypeAssertion": true, | |
| "typescript.updateImportsOnFileMove.enabled": "always", | |
| "editor.codeActionsOnSave": { | |
| "source.fixAll.eslint": true | |
| }, | |
| /* VUEJS */ | |
| "vetur.format.defaultFormatter.html": "js-beautify-html", | |
| "[vue]": { | |
| "editor.defaultFormatter": "esbenp.prettier-vscode" | |
| }, | |
| /* PYTHON PART */ | |
| /* ----------- */ | |
| "python.languageServer": "Pylance", | |
| "python.analysis.typeCheckingMode": "basic", | |
| "python.pythonPath": "C:\\Users\\mbrio\\AppData\\Local\\Programs\\Python\\Python37\\python.exe", | |
| "python.venvPath": "~/.virtualenvs", | |
| "python.formatting.provider": "black", | |
| "python.formatting.blackArgs": ["--line-length", "88"], | |
| "python.linting.enabled": true, | |
| "python.linting.pylintEnabled": true, | |
| "python.linting.flake8Enabled": true, | |
| "python.linting.pydocstyleEnabled": true, | |
| "python.linting.mypyEnabled": true, | |
| "python.linting.pylintArgs": ["--max-line-length=88"], | |
| "python.linting.flake8Args": ["--max-line-length=88"], | |
| "[python]": { | |
| "editor.defaultFormatter": "ms-python.python", | |
| "editor.rulers": [88] | |
| }, | |
| /* GIT PART */ | |
| /* -------- */ | |
| "git.enableSmartCommit": true, | |
| "sync.gist": "b3bb6db66e98b70d7603c77a809e1ac7", | |
| "git.autofetch": true, | |
| "gitlens.advanced.messages": { | |
| "suppressShowKeyBindingsNotice": true | |
| }, | |
| "gitlens.codeLens.enabled": false, | |
| } |