mirror of
https://gitee.com/yiming_chang/vue-pure-admin.git
synced 2024-11-30 10:17:41 +08:00
50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
// You should install these plugins:
|
|
// ESLint
|
|
// Prettier - Code formatter
|
|
// stylelint
|
|
// vscode-icons
|
|
// TypeScript Vue Plugin (Volar)
|
|
// Vue Language Features (Volar)
|
|
"terminal.integrated.rendererType": "dom",
|
|
"editor.formatOnType": true,
|
|
"editor.formatOnSave": true,
|
|
"window.zoomLevel": 1,
|
|
"javascript.updateImportsOnFileMove.enabled": "always",
|
|
"[vue]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"[javascript]": {
|
|
"editor.defaultFormatter": "vscode.typescript-language-features"
|
|
},
|
|
"editor.tabSize": 2,
|
|
"editor.formatOnPaste": true,
|
|
"files.autoSave": "afterDelay",
|
|
"git.confirmSync": false,
|
|
"workbench.startupEditor": "newUntitledFile",
|
|
"editor.suggestSelection": "first",
|
|
"editor.acceptSuggestionOnCommitCharacter": false,
|
|
"css.lint.propertyIgnoredDueToDisplay": "ignore",
|
|
// Prevent inline styles from being automatically formatted to all lowercase
|
|
"editor.quickSuggestions": {
|
|
"other": true,
|
|
"comments": true,
|
|
"strings": true
|
|
},
|
|
// Automatically fix some syntax errors of ts
|
|
"tslint.autoFixOnSave": true,
|
|
"files.associations": {
|
|
// Specifies the location of snippets in the suggestion widget
|
|
"editor.snippetSuggestions": "top"
|
|
},
|
|
"[css]": {
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
},
|
|
"cSpell.userWords": ["sourcemap", "vite"],
|
|
"editor.codeActionsOnSave": {
|
|
"source.fixAll.eslint": true
|
|
},
|
|
"volar.tsPlugin": true,
|
|
"typescript.tsdk": "node_modules/typescript/lib"
|
|
}
|