其他分享
首页 > 其他分享> > VSCode 配置

VSCode 配置

作者:互联网

插件:

 

Auto Rename Tag
C#
C# XML Documentation Comments
Chinese 简体中文
Code Spell Checker
CodeLLDB
crates
Error Lens
ESLint
Even Better TOML
filesize
Flow Language Support
Git Graph
GitLens
Import Cost
indent-rainbow
IntelliCode
Markdown Preview Enhanced
Material Icon Theme
MDX
One Dark Pro
Path Intellisense
Prettier
React Style Helper
Rust-analyzer
SQL Beautify
Vim
vscode-styled-components

 

## 配置

 

```json

{     "workbench.iconTheme": "material-icon-theme",     "security.workspace.trust.untrustedFiles": "open",     "[typescriptreact]": {         "editor.defaultFormatter": "esbenp.prettier-vscode"     },     "oneDarkPro.editorTheme": "One Dark Pro Flat",     "typescript.suggest.completeJSDocs": true,     "typescript.suggest.jsdoc.generateReturns": true,     "typescript.suggest.autoImports": true,     "typescript.updateImportsOnFileMove.enabled": "always",     "javascript.suggest.completeJSDocs": true,     "javascript.suggest.jsdoc.generateReturns": true,     "javascript.suggest.autoImports": true,     "javascript.updateImportsOnFileMove.enabled": "always",     "[json]": {         "editor.defaultFormatter": "vscode.json-language-features"     },     "[jsonc]": {         "editor.defaultFormatter": "vscode.json-language-features"     },     "[css]": {         "editor.defaultFormatter": "vscode.css-language-features"     },     "workbench.colorTheme": "One Dark Pro",     "[typescript]": {         "editor.defaultFormatter": "esbenp.prettier-vscode"     },     "[javascript]": {         "editor.defaultFormatter": "esbenp.prettier-vscode"     },     "git.confirmSync": false,     "git.enableSmartCommit": true,     "editor.bracketPairColorization.enabled": true,     "editor.guides.bracketPairs": "active",     "editor.guides.bracketPairsHorizontal": "active",     "editor.guides.highlightActiveIndentation": "always",     "editor.codeActionsOnSave": {         "source.organizeImports": true     },     "editor.linkedEditing": true,     "editor.suggest.preview": true,     "html.autoClosingTags": true,     "javascript.autoClosingTags": true,     "typescript.autoClosingTags": true,     "[yaml]": {         "editor.defaultFormatter": "esbenp.prettier-vscode"     },     "editor.fontFamily": "'Source Code Pro', Consolas, 'Courier New', monospace",     "explorer.fileNesting.enabled": true,     "explorer.fileNesting.expand": false,     "explorer.fileNesting.patterns": {         "*.ts": "${capture}.js",         "*.js": "${capture}.js.map, ${capture}.min.js, ${capture}.d.ts",         "*.jsx": "${capture}.js",         "*.tsx": "${capture}.ts",         "tsconfig.json": "tsconfig.*.json",         "package.json": "package-lock.json, yarn.lock"     },     "vim.easymotion": true,     "vim.incsearch": true,     "vim.useSystemClipboard": true,     "vim.useCtrlKeys": true,     "vim.hlsearch": true,     "vim.insertModeKeyBindings": [         {             "before": [                 "j",                 "j"             ],             "after": [                 "<Esc>"             ]         }     ],     "vim.normalModeKeyBindingsNonRecursive": [         {             "before": [                 "<leader>",                 "d"             ],             "after": [                 "d",                 "d"             ]         },         {             "before": [                 "<C-n>"             ],             "commands": [                 ":nohl"             ]         },         {             "before": [                 "K"             ],             "commands": [                 "lineBreakInsert"             ],             "silent": true         }     ],     "vim.leader": "<space>",     "vim.handleKeys": {         "<C-a>": false,         "<C-f>": false     },     "editor.lineNumbers": "on" }

```

标签:VSCode,配置,vim,vscode,json,editor,defaultFormatter,true
来源: https://www.cnblogs.com/rustln/p/16246618.html