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",
    "window.title": "${dirty}${activeEditorLong}${separator}",
    "extensions.ignoreRecommendations": true,
    "terminal.integrated.windowsEnableConpty": false,
    "emmet.triggerExpansionOnTab": true,
    "emmet.syntaxProfiles": {
        "vue-html": "html",
        "vue": "html"
    },
    "terminal.integrated.copyOnSelection": true,
    "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": 220,
    "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": "esbenp.prettier-vscode"
    },
    "[json]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "[jsonc]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "python.analysis.completeFunctionParens": true,
    // "terminal.integrated.shell.windows": "D:\\Program Files\\Git\\bin\\bash.exe",
    "terminal.external.windowsExec": "D:\\Program Files\\Git\\bin\\bash.exe",
    "terminal.integrated.profiles.windows": {
        "Git Bash": {
            "path": "D:\\Program Files\\Git\\bin\\bash.exe"
        }
    },
    "terminal.integrated.defaultProfile.windows": "Git Bash",
    "go.removeTags": {
        "tags": "json"
    },
    "go.toolsManagement.autoUpdate": true,
    "update.mode": "none",
    "update.enableWindowsBackgroundUpdates": false,
    "gitlens.currentLine.enabled": false,
    "gitlens.hovers.currentLine.over": "line",
    "workbench.editorAssociations": [
        {
            "viewType": "jupyter-notebook",
            "filenamePattern": "*.ipynb"
        }
    ],
    "workbench.editor.enablePreview": false,
    "volar.codeLens.scriptSetupTools": false,
    "volar.codeLens.pugTools": false,
    "javascript.preferences.quoteStyle": "double"
}

本文链接:https://wanglong.work/post/vscode-ext.html

-- EOF --

Comments