A vuejs development environment setup to code with popular and useful vuejs extensions. I can assure you this will the last extension pack for vuejs development that you will ever be needed. Happy coding! Cheers!
-
vetur - Vue tooling for VS Code, powered by vue-language-server.
-
vue-peek - This extension extends Vue code editing with Go To Definition and Peek Definition support for components and filenames in single-file components with a .vue extension. It allows quickly jumping to or peeking into files that are referenced as components (from the template), or as module imports
-
auto-rename-tag - Automatically rename paired HTML/XML tag, same as Visual Studio IDE does.
-
auto-close-tag - Automatically add HTML/XML close tag, same as Visual Studio IDE or Sublime Text does.
-
npm - This extension supports running npm scripts defined in the package.json file and validating the installed modules against the dependencies defined in the package.jso
-
NPM IntelliSense - Visual Studio Code plugin that autocompletes npm modules in import statements
-
Prettier - Code formatter - VS Code package to format your JavaScript / TypeScript / CSS using Prettier.
-
Sorting HTML and Jade attributes - Sorting of the tag attributes in the specified order.
-
Bracket Pair Colorizer - This extension allows matching brackets to be identified with colours. The user can define which characters to match, and which colours to use.
-
Import Cost VSCode - This extension will display inline in the editor the size of the imported package. The extension utilizes webpack with babili-webpack-plugin in order to detect the imported size.
-
ESLint - Integrates ESLint into VS Code. If you are new to ESLint check the documentation.
-
GitLens - GitLens supercharges the Git capabilities built into Visual Studio Code. It helps you to visualize code authorship at a glance via Git blame annotations and code lens, seamlessly navigate and explore Git repositories, gain valuable insights via powerful comparison commands, and so much more.
-
Highlight TODO, FIXME, or whatever annotations. - Another plugin to ensure maintainability of your scalable project. Highlight TODO, FIXME, or whatever annotations.
-
vscode-icons - Love to see relatable file/folder icons? This will bring beautiful icons to your folder/files.
-
JavaScript (ES6) code snippets - This extension contains code snippets for JavaScript in ES6 syntax for Vs Code editor (supports both JavaScript and TypeScript). Code snippets are also supported with vuejs files.
{
"eslint.enable": true,
"window.zoomLevel": 1,
"files.trimTrailingWhitespace": true,
"prettier.singleQuote": true,
"prettier.trailingComma": "es5",
"prettier.eslintIntegration": true,
"prettier.disableLanguages": [],
"eslint.autoFixOnSave": true,
"editor.insertSpaces": true,
"editor.formatOnSave": true, // only if you want auto //fomattting on saving the file
"editor.detectIndentation": true,
"editor.tabSize": 2,
"editor.formatOnPaste": false,
"editor.formatOnType": true,
"editor.renderControlCharacters": true,
"editor.renderWhitespace": "all",
"files.exclude": {
"**/node_modules": true,
".gitignore": true,
".eslintignore": true,
".eslintrc.js": false,
".babelrc": true,
".editorconfig": true,
".postcssrc.js": true,
".jshintrc": true,
"build": true,
"config": true
},
"eslint.validate": [
{
"autoFix": true,
"language": "javascript"
},
{
"autoFix": true,
"language": "vue"
}
],
"attrsSorter.order": ["is", "v-for", "v-if", "v-else-if", "v-else", "v-show", "v-cloak", "v-once", "v-pre", "id", "ref", "key", "slot", "v-model", "v-model.+", "v-bind", "v-bind.+", ":.+", "v-text", "v-text.+", "v-html", "v-html.+", "class", "v-on.+", "@.+", "name", "data-.+", "ng-.+", "src", "for", "type", "href", "values", "title", "alt", "role", "aria-.+", "$unknown$"]
}
-
Todo Extension Settings:
-
todohighlight.isEnable
: enable/disable this extension- type: boolean
- default:
true
-
todohighlight.isCaseSensitive
: whether the keywords are case sensitive or not.- type: boolean
- default:
false
-
todohighlight.toggleURI
: if the file uri within the output channel is not clickable, set this to true to toggle the uri patten between<path>#<line>
and<path>:<line>:<column>
- type: boolean
- default:
false
-
todohighlight.keywords
: annotations that will be highlighted. The pattern is plain string or escaped RegExp string. e.g.TODO:
,\\bTODO\\b
.- type: Array<string|DecorationRenderOptions>
- default:
- Vuejs workbox has created with the help of above mention plugins. Thanks go to the original authors and contributors of the above mentioned plugin.
Enjoy!
Feel free to send pull requests with updates.