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.bracketSameLine": 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": [
        "-count=1",
        "-v"
    ],
    "go.lintOnSave": "off",
    "go.formatTool": "gofmt",
    "go.useLanguageServer": true,
    "go.languageServerExperimentalFeatures": {
        "diagnostics": true
    },
    "gopls": {
        "importShortcut": "Definition"
    },
    "go.editorContextMenuCommands": {
        "toggleTestFile": false,
        "addTags": true,
        "removeTags": true,
        "testAtCursor": false,
        "testFile": false,
        "testPackage": false,
        "generateTestForFile": false,
        "generateTestForPackage": false,
        "addImport": false,
        "testCoverage": false,
        "playground": false,
        "debugTestAtCursor": 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": "",
    "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": "vscode.json-language-features"
    },
    "[jsonc]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    },
    "python.analysis.completeFunctionParens": true,
    "terminal.external.windowsExec": "D:\\Program Files\\Git\\bin\\bash.exe",
    "terminal.integrated.profiles.windows": {
        "bash": {
            "path": "D:\\Program Files\\Git\\bin\\bash.exe"
        }
    },
    "terminal.integrated.defaultProfile.windows": "bash",
    "go.removeTags": {
        "tags": "json"
    },
    "update.mode": "none",
    "update.enableWindowsBackgroundUpdates": false,
    "gitlens.hovers.currentLine.over": "line",
    "workbench.editor.enablePreview": false,
    "volar.codeLens.scriptSetupTools": false,
    "volar.codeLens.pugTools": false,
    "javascript.preferences.quoteStyle": "double",
    "remote.SSH.remotePlatform": {
        "172.22.1.18": "linux",
        "172.22.1.204": "linux",
        "172.22.1.16": "linux",
        "172.22.5.32": "linux"
    },
    "redhat.telemetry.enabled": false,
    "[yaml]": {
        "editor.defaultFormatter": "redhat.vscode-yaml"
    },
    "gitlens.advanced.messages": {},
    "editor.linkedEditing": true,
    "git.ignoreRebaseWarning": true,
    "security.workspace.trust.emptyWindow": false,
    "security.workspace.trust.enabled": false,
    "update.showReleaseNotes": false,
    "telemetry.telemetryLevel": "off",
    "security.workspace.trust.untrustedFiles": "open",
    "merge-conflict.autoNavigateNextConflict.enabled": true,
    "settingsSync.keybindingsPerPlatform": false,
    "extensions.autoCheckUpdates": false,
    "terminal.integrated.persistentSessionReviveProcess": "never",
    "git.ignoreMissingGitWarning": true,
    "workbench.layoutControl.enabled": false,
    "terminal.integrated.enableMultiLinePasteWarning": false,
    "java.autobuild.enabled": false,
    "java.import.maven.enabled": false,
    "editor.minimap.size": "fill",
    "go.playground": {
        "openbrowser": false,
        "share": false,
        "run": false
    },
    "go.testTimeout": "60s",
    "go.toolsManagement.checkForUpdates": "off"
}

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

-- EOF --

Comments