2017-04-07 10:17:50

vscode 插件记录

配置

{
    "editor.fontFamily": "'Microsoft YaHei Mono',Consolas, 'Courier New', monospace",
    "editor.minimap.showSlider": "always",
    "editor.detectIndentation": false,
    "editor.renderControlCharacters": true,
    "editor.wordWrap": "on",
    "editor.rulers": [
        120,
        180
    ],
    // "editor.autoIndent": false,
    "editor.wordWrapColumn": 180,
    "editor.quickSuggestions": {
        "other": true,
        "comments": true,
        "strings": true
    },
    "editor.renderLineHighlight": "all",
    "editor.minimap.maxColumn": 80,
    "editor.suggestSelection": "first",
    "workbench.startupEditor": "newUntitledFile",
    "workbench.activityBar.visible": true,
    "workbench.statusBar.visible": true,
    "workbench.commandPalette.history": 20,
    "workbench.sideBar.location": "left",
    "workbench.settings.enableNaturalLanguageSearch": false,
    "workbench.enableExperiments": false,
    "workbench.iconTheme": "vscode-icons",
    "workbench.colorTheme": "Default Light+",
    "window.zoomLevel": 0,
    "window.menuBarVisibility": "default",
    "window.title": "${dirty}${activeEditorLong}${separator}",
    "extensions.ignoreRecommendations": false,
    "terminal.integrated.windowsEnableConpty": false,
    "emmet.triggerExpansionOnTab": true,
    "emmet.syntaxProfiles": {
        "vue-html": "html",
        "vue": "html"
    },
    "terminal.integrated.copyOnSelection": true,
    "terminal.integrated.shell.windows": "D:\\Program Files\\Git\\bin\\bash.exe",
    "git.enableSmartCommit": true,
    "git.confirmSync": false,
    "git.path": "D:/Program Files/Git/bin/git.exe",
    "git.inputValidationLength": 120,
    "[git-commit]": {
        "editor.rulers": [
            120
        ]
    },
    "git.autofetch": true,
    "prettier.jsxBracketSameLine": true,
    "prettier.tabWidth": 4,
    "prettier.printWidth": 180,
    "explorer.confirmDragAndDrop": false,
    "explorer.confirmDelete": 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,
    "go.gopath": "D:/App/Go",
    // "go.useCodeSnippetsOnFunctionSuggest": true,
    "go.addTags": {
        "tags": "json", //,form
        "options": "",
        "promptForTags": false,
        "transform": "snakecase"
    },
    "go.toolsEnvVars": {
        "GOFLAGS": "-tags=prod,gen"
    },
    "go.testFlags": [
        "-v"
    ],
    "go.lintOnSave": "off",
    "go.formatTool": "goimports",
    "go.useLanguageServer": true,
    "go.languageServerExperimentalFeatures": {
        "diagnostics": true
    },
    "gopls": {"importShortcut":"Definition"},
    "go.editorContextMenuCommands": {
        "toggleTestFile": false,
        "addTags": true,
        "removeTags": true,
        "testAtCursor": false,
        "testFile": false,
        "testPackage": false,
        "generateTestForFunction": false,
        "generateTestForFile": false,
        "generateTestForPackage": false,
        "testCoverage": false,
        "playground": false
    },
    "[go]": {
        "editor.defaultFormatter": "golang.go"
    },
    "breadcrumbs.enabled": true,
    "python.jediEnabled": false,
    "python.linting.enabled": false,
    "python.autoComplete.addBrackets": true,
    "python.pythonPath": "D:/Program Files/Python37/python.exe",
    "python.jediPath": "D:/Program Files/Python37/Lib/site-packages/jedi",
    "python.languageServer": "Pylance",
    "python.showStartPage": false,
    "C_Cpp.default.includePath": [
        "D:/Program Portable Files/mingw64/x86_64-w64-mingw32/include/**",
        "D:/Portable/npcap/Include/**",
        "C:/opencv/include/**"
    ],
    "html.format.indentHandlebars": true,
    "html.format.wrapLineLength": 0,
    "html.format.enable": false,
    "html.format.wrapAttributes": "force-aligned",
    "html.format.extraLiners": "",
    "telemetry.enableTelemetry": false,
    "telemetry.enableCrashReporter": false,
    "vsicons.dontShowNewVersionMessage": true,
    "[typescript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    },
    "typescript.implementationsCodeLens.enabled": true,
    "javascript.suggest.completeFunctionCalls": true,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[vue]": {
        "editor.defaultFormatter": "octref.vetur"
    },
    "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    }
}

本文链接:https://blog.zxysilent.com/post/vscode-ext.html

-- EOF --

Comments