mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-07 08:57:19 +08:00
docs: update settings.json
This commit is contained in:
parent
262113525d
commit
ea97cb20f3
39
.vscode/settings.json
vendored
39
.vscode/settings.json
vendored
@ -1,16 +1,16 @@
|
|||||||
{
|
{
|
||||||
"explorer.confirmDelete": false,
|
// You should install these plugins:
|
||||||
|
// ESLint
|
||||||
|
// Prettier - Code formatter
|
||||||
|
// stylelint
|
||||||
|
// vscode-icons
|
||||||
|
// TypeScript Vue Plugin (Volar)
|
||||||
|
// Vue Language Features (Volar)
|
||||||
"terminal.integrated.rendererType": "dom",
|
"terminal.integrated.rendererType": "dom",
|
||||||
"git.enableSmartCommit": true,
|
|
||||||
"editor.formatOnType": true,
|
"editor.formatOnType": true,
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"editor.fontFamily": "Fira Code",
|
|
||||||
"editor.fontLigatures": true,
|
|
||||||
"window.zoomLevel": 1,
|
"window.zoomLevel": 1,
|
||||||
"git.autofetch": true,
|
|
||||||
"workbench.iconTheme": "vscode-icons",
|
|
||||||
"javascript.updateImportsOnFileMove.enabled": "always",
|
"javascript.updateImportsOnFileMove.enabled": "always",
|
||||||
"vsicons.dontShowNewVersionMessage": true,
|
|
||||||
"[vue]": {
|
"[vue]": {
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
@ -23,20 +23,15 @@
|
|||||||
"git.confirmSync": false,
|
"git.confirmSync": false,
|
||||||
"workbench.startupEditor": "newUntitledFile",
|
"workbench.startupEditor": "newUntitledFile",
|
||||||
"editor.suggestSelection": "first",
|
"editor.suggestSelection": "first",
|
||||||
"vetur.completion.scaffoldSnippetSources": {
|
|
||||||
"vetur.experimental.templateInterpolationService": "true"
|
|
||||||
},
|
|
||||||
"vetur.validation.template": false,
|
|
||||||
"editor.acceptSuggestionOnCommitCharacter": false,
|
"editor.acceptSuggestionOnCommitCharacter": false,
|
||||||
"vetur.format.defaultFormatter.js": "vscode-typescript",
|
|
||||||
"css.lint.propertyIgnoredDueToDisplay": "ignore",
|
"css.lint.propertyIgnoredDueToDisplay": "ignore",
|
||||||
// 防止行内样式自动格式化为全小写
|
// Prevent inline styles from being automatically formatted to all lowercase
|
||||||
"editor.quickSuggestions": {
|
"editor.quickSuggestions": {
|
||||||
"other": true,
|
"other": true,
|
||||||
"comments": true,
|
"comments": true,
|
||||||
"strings": true
|
"strings": true
|
||||||
},
|
},
|
||||||
// 自动修复ts的一些语法报错
|
// Automatically fix some syntax errors of ts
|
||||||
"tslint.autoFixOnSave": true,
|
"tslint.autoFixOnSave": true,
|
||||||
"files.associations": {
|
"files.associations": {
|
||||||
// Specifies the location of snippets in the suggestion widget
|
// Specifies the location of snippets in the suggestion widget
|
||||||
@ -48,21 +43,5 @@
|
|||||||
"cSpell.userWords": ["sourcemap", "vite"],
|
"cSpell.userWords": ["sourcemap", "vite"],
|
||||||
"editor.codeActionsOnSave": {
|
"editor.codeActionsOnSave": {
|
||||||
"source.fixAll.eslint": true
|
"source.fixAll.eslint": true
|
||||||
},
|
|
||||||
"[markdown]": {
|
|
||||||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
|
||||||
},
|
|
||||||
"gitlens.advanced.messages": {
|
|
||||||
"suppressLineUncommittedWarning": true
|
|
||||||
},
|
|
||||||
"workbench.colorTheme": "One Dark Pro Darker",
|
|
||||||
"[typescriptreact]": {
|
|
||||||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
|
||||||
},
|
|
||||||
"[scss]": {
|
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
||||||
},
|
|
||||||
"[typescript]": {
|
|
||||||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user