windows中vscode配置文件

{
	//editor相关
	"editor.fontSize": 18,
    "editor.wordWrap": "on", // 自动换行
    "explorer.confirmDelete": false,
    "editor.detectIndentation": false,
    "editor.tabSize": 4,
    "editor.autoIndent": "advanced",
    "editor.formatOnPaste": true, // 粘贴时格式化
    "editor.formatOnSave": true, // 保存时格式化
    "editor.formatOnType": true, // 键入时格式化
	// terminal相关
    "terminal.integrated.fontFamily": "consolas", //指定终端的字体
    "terminal.integrated.fontSize": 16, //指定终端字大小
    "terminal.integrated.shell.windows": "C:\\Users\\Administrator\\AppData\\Local\\Microsoft\\WindowsApps\\ubuntu.exe", //指定终端使用的程序
    // https://clang.llvm.org/docs/ClangFormatStyleOptions.html
    "C_Cpp.updateChannel": "Insiders",
    "C_Cpp.clang_format_style": "{ BasedOnStyle: Google, IndentWidth: 4, AccessModifierOffset: -4, AlignTrailingComments: true, ColumnLimit: 0 }", // 格式化代码,大括号
    "editor.autoClosingBrackets": "beforeWhitespace",
    // "terminal.integrated.shell.osx": "/bin/zsh",
    
    "git.enableSmartCommit": true,
    "explorer.confirmDragAndDrop": false,
    "editor.hover.delay": 100,
    "remote.SSH.showLoginTerminal": true,
    "git.ignoreLegacyWarning": true,
    "C_Cpp.clang_format_sortIncludes": false,
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter.notebook.ipynb"
    },
    "go.alternateTools": {},
    "go.useLanguageServer": true,
    "breadcrumbs.enabled": true,
    "editor.renderWhitespace": "none",
    "editor.minimap.enabled": false,
    "workbench.editor.enablePreview": false,
    "plantuml.commandArgs": [],
    "plantuml.server": "http://www.plantuml.com/plantuml",
    "search.exclude": {
        "**/*.log": true
    },
    "files.exclude": {
        "**/*.log": true,
    },
    "workbench.colorTheme": "One Monokai",
    "workbench.iconTheme": "material-icon-theme",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    //python相关
    "python.autoComplete.addBrackets": true,
    "python.autoComplete.extraPaths": [
        "C:/Program Files/Python38/Scripts",
        "C:/Program Files/Python38/Lib/site-packages",
    ],
    "python.analysis.extraPaths": [
        "C:/Program Files/Python38/Scripts",
        "C:/Program Files/Python38/Lib/site-packages"
    ],
    "python.analysis.completeFunctionParens": true,
    "python.formatting.provider": "none",
    "python.formatting.yapfPath": "none",
    "python.formatting.blackPath": "none",
    "python.formatting.autopep8Path": "none",
    "files.trimTrailingWhitespace": true,
    "prettier.semi": true,
    "go.toolsManagement.autoUpdate": true,
    "liveServer.settings.donotShowInfoMsg": true,
    "terminal.integrated.tabs.enabled": true,
    "vetur.format.defaultFormatter.html": "js-beautify-html",
    "vetur.format.defaultFormatterOptions": {
        "js-beautify-html": {
            "wrap_line_length": 120,
            "wrap_attributes": "auto",
            "end_with_newline": false
        },
        "prettier": {
            // 不加分号
            "semi": false,
            // 用单引号
            "singleQuote": true,
            // 禁止随时添加逗号
            "trailingComma": "none"
        }
    },
    // go代码自动补全括号
    "go.useCodeSnippetsOnFunctionSuggest": true,
    // 自动完成未导入的包
    "go.autocompleteUnimportedPackages": true,
    "go.docsTool": "gogetdoc",
    "go.formatTool": "goimports",
    // 文件自动保存
    "files.autoSave": "afterDelay",
    "files.autoSaveDelay": 2000,
    "workbench.startupEditor": "none",
    "security.workspace.trust.untrustedFiles": "open",
    "explorer.autoReveal": false
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值