1
2
3
4
{
"editor.fontFamily": "'Microsoft YaHei Mono',Consolas, 'Courier New', monospace",
"editor.minimap.showSlider": "always",
"editor.detectIndentation": false,
"editor.wordWrap": "on",
"workbench.startupEditor": "newUntitledFile",
"window.zoomLevel": 0,
"html.format.extraLiners": "",
"git.enableSmartCommit": true,
"extensions.ignoreRecommendations": false,
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
"terminal.integrated.copyOnSelection": true,
"git.path": "D:/Program Files/Git/bin/git.exe",
"editor.rulers": [120, 180],
"git.inputValidationLength": 120,
"[git-commit]": {
"editor.rulers": [120]
},
"prettier.jsxBracketSameLine": true,
"editor.wordWrapColumn": 180,
// "html.suggest.angular1": false,
"explorer.confirmDragAndDrop": false,
"vetur.validation.template": false,
"vetur.format.options.tabSize": 4,
"vetur.format.options.useTabs": true,
"vetur.format.defaultFormatter.html": "js-beautify-html",
"vetur.format.defaultFormatterOptions": {
"js-beautify-html": {
"wrap_attributes": "auto"
}
},
"search.followSymlinks": false,
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"emmet.triggerExpansionOnTab": true,
// "gitHistory.showEditorTitleMenuBarIcons": false,
// "view-in-browser.customBrowser": "chrome",
"editor.renderLineHighlight": "all",
"git.confirmSync": false,
"go.gopath": "D:/App/Go",
// "go.useCodeSnippetsOnFunctionSuggest": true,
"go.addTags": {
"tags": "json",//,form
"options": "",
"promptForTags": false,
"transform": "snakecase"
},
"go.testFlags": ["-v"],
"go.editorContextMenuCommands": {
"toggleTestFile": false,
"addTags": true,
"removeTags": true,
"testAtCursor": false,
"testFile": false,
"testPackage": false,
"generateTestForFunction": false,
"generateTestForFile": false,
"generateTestForPackage": false,
"testCoverage": false,
"playground": false
},
"extensions.showRecommendationsOnlyOnDemand": true,
"git.autofetch": true,
"breadcrumbs.enabled": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"explorer.confirmDelete": false,
"editor.renderControlCharacters": true,
"workbench.activityBar.visible": true,
"python.jediEnabled": false,
"python.linting.enabled": false,
"python.autoComplete.addBrackets": true,
"python.pythonPath": "D:/Program Files/Python36/python.exe",
"python.jediPath": "D:/Program Files/Python36/Lib/site-packages/jedi",
// "C_Cpp.clang_format_fallbackStyle": "Google",
// "C_Cpp.default.includePath": [
// "D:/Program Portable Files/mingw64/x86_64-w64-mingw32/include/**"
// ],
"workbench.statusBar.visible": true,
"workbench.commandPalette.history": 20,
"prettier.printWidth": 180,
// "C_Cpp.clang_format_fallbackStyle": "Google",
"window.menuBarVisibility": "default",
"workbench.sideBar.location": "left",
"html.format.indentHandlebars": true,
"html.format.wrapLineLength": 0,
"html.format.enable": false,
"prettier.tabWidth": 4,
"editor.minimap.maxColumn": 120,
"html.format.wrapAttributes": "force-aligned",
"editor.autoIndent": false,
"terminal.integrated.shell.windows": "D:\\Program Files\\Git\\bin\\bash.exe",
"view-in-browser.customBrowser": "chrome",
"gitlens.hovers.currentLine.over": "line",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"window.title": "${dirty}${activeEditorLong}${separator}",
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"telemetry.enableTelemetry": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"vsicons.dontShowNewVersionMessage": true,
"workbench.iconTheme": "vscode-icons",
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"javascript.referencesCodeLens.enabled": true,
"javascript.suggest.completeFunctionCalls": true,
"typescript.implementationsCodeLens.enabled": true,
"dart.checkForSdkUpdates": false,
"dart.reportAnalyzerErrors": false,
"workbench.settings.enableNaturalLanguageSearch": false,
"telemetry.enableCrashReporter": false,
"workbench.enableExperiments": false,
"go.lintOnSave": "off"
}
然后在vscode 搜索以下插件直接安装