{
"editor.fontSize": 15,
"editor.wordWrap": "on",
"winopacity.opacity":245,
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"prettier": {
// 格式化不加分号
"semi": false,
// 格式化为单引号
"singleQuote": true,
// 在方法括号里插入空格
"javascript.format.insertSpaceBeforeFunctionParenthesis": true
},
"files.autoSave": "off",
"eslint.validate": [
"javascript",
"javascriptreact",
"vue-html",
{
"language": "vue",
"autoFix": true
}
],
"eslint.run": "onSave",
"window.zoomLevel": 0,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"explorer.confirmDelete": false,
"editor.detectIndentation": false,
"editor.tabSize": 2,
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"allowSyntheticDefaultImports": true,
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"exclude": [
"node_modules"
],
"todo-tree.tree.showScanModeButton": false,
"htmltagwrap.tag": "div",
"launch": {
},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"workbench.colorTheme": "Monokai",
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"@": "${cwd}/src/",
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace",
"gitlens.codeLens.scopes": [
"document"
]
},
"editor.multiCursorModifier": "alt",
"javascript.updateImportsOnFileMove.enabled": "always",
"eslint.alwaysShowStatus": true, //@引入快速导航
"tabnine.experimentalAutoImports": true, //@引入快速导航
"@": "${cwd}/src",
//jsx中自动闭合
"emmet.includeLanguages": {
"javascript": "javascriptreact"
}
}
## 配置二
```json
{
"editor.fontSize": 15,
"editor.wordWrap": "on",
"winopacity.opacity": 250,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier": {
// 格式化不加分号
"semi": false,
// 格式化为单引号
"singleQuote": true,
// 在方法括号里插入空格
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"prettier.printWidth": 100
},
"files.autoSave": "off",
"eslint.validate": [
"javascript",
"javascriptreact",
"vue-html",
{
"language": "vue",
"autoFix": true
}
],
"eslint.run": "onSave",
"editor.codeActionsOnSave": {
"source.fixAll.eslint": "explicit"
// "source.organizeImports": "always" //删除不用的import
},
"explorer.confirmDelete": false,
"editor.detectIndentation": false,
"editor.tabSize": 2,
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"compilerOptions": {
"target": "ES6",
"module": "commonjs",
"allowSyntheticDefaultImports": true,
"baseUrl": "./",
"paths": {
"@/*": ["src/*"]
}
},
"exclude": ["node_modules"],
"todo-tree.tree.showScanModeButton": false,
"htmltagwrap.tag": "div",
"launch": {},
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.colorTheme": "HBuilderX Soft Green Light",
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[json]": {
"editor.quickSuggestions": {
"strings": true
},
"editor.suggest.insertMode": "replace",
"gitlens.codeLens.scopes": ["document"],
"editor.defaultFormatter": "vscode.json-language-features"
},
"editor.multiCursorModifier": "alt",
"javascript.updateImportsOnFileMove.enabled": "always",
"eslint.alwaysShowStatus": true, //@引入快速导航
"tabnine.experimentalAutoImports": true, //@引入快速导航
"@": "${cwd}/src",
//jsx中自动闭合
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"window.newWindowDimensions": "offset",
"leek-fund.stocks": [
"sh000001",
"hk03690",
"hk00700",
"usr_ixic",
"usr_dji",
"usr_inx",
"ZC0",
"sh512010",
"sz000069",
"sh512480",
"sh513010",
"sh513360",
"sz000977",
"sz002808",
"sh688126",
"sz002316",
"sz300058",
"sh603019"
],
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"explorer.confirmDragAndDrop": false,
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [80],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"diffEditor.ignoreTrimWhitespace": false,
"interview.updateNotification": 1653873669996,
"interview.workspaceFolder": "d:\\work\\ziliao\\每日1题",
"leetcode.endpoint": "leetcode-cn",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.welcomePage.preferReducedMotion": true,
"leek-fund.funds": [[]],
"editor.maxTokenizationLineLength": 20000000,
"bracketPairColorizer.depreciation-notice": false,
"json.schemas": [],
"workbench.iconTheme": "Monokai Pro (Filter Spectrum) Icons",
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"security.workspace.trust.untrustedFiles": "open",
"workbench.startupEditor": "none",
"debug.javascript.autoAttachFilter": "always",
"leek-fund.expandUSStock": true,
"leek-fund.interval": 3000,
"volar.inlayHints.eventArgumentInInlineHandlers": false,
"editor.unicodeHighlight.allowedCharacters": {
" ": true
},
"editor.formatOnSave": true //保存自动格式化
}