mac中vscode配置文件

{
    // 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 }", // 格式化代码,大括号. AlignConsecutiveAssignments: true, 
    "go.useCodeSnippetsOnFunctionSuggest": true, // go代码自动补全括号
    "editor.autoClosingBrackets": "beforeWhitespace",
    "terminal.integrated.shell.osx": "/bin/zsh",
    "editor.fontSize": 16,
    "editor.wordWrap": "off", // 自动换行
    "explorer.confirmDelete": false,
    //指定终端的字体 (注意名字要完全符合font名)
    "terminal.integrated.fontFamily": "Monaco for Powerline",
    //指定终端字大小
    "terminal.integrated.fontSize": 14,
    "editor.detectIndentation": false,
    "editor.tabSize": 4,
    "editor.autoIndent": "advanced",
    "editor.formatOnPaste": true, // 粘贴时格式化
    "editor.formatOnSave": true, // 保存时格式化
    "editor.formatOnType": true, // 键入时格式化
    //快速添加文件头部注释和函数注释
    "fileheader.configObj": {
        "createFileTime": true, //设置为true则为文件新建时候作为date,否则注释生成时间为date
        "autoAdd": false, //自动生成注释
        "annotationStr": {
            "head": "/*",
            "middle": " * @",
            "end": " */\n",
            "use": true //设置自定义注释可用
        },
    },
    "fileheader.cursorMode": {
        "description": "",
        "param ": "",
        "return": ""
    },
    "fileheader.customMade": {
        "Description": "", //文件内容描述
        "Author": "liutq", //编辑人
        "Date": "Do not edit", //时间
        "LastEditTime": "Do not edit",
        // "LastEditors": "liutq",
        // "Reference": ""
    },
    "python.formatting.autopep8Args": [
        "--max-line-length=1000",
        "--ignore",
        "E402"
    ],
    "git.enableSmartCommit": true,
    "explorer.confirmDragAndDrop": false,
    "editor.hover.delay": 100,
    "remote.SSH.showLoginTerminal": true,
    "window.zoomLevel": 0,
    "git.ignoreLegacyWarning": true,
    "sqltools.format": {
        "language": "sql",
        "linesBetweenQueries": 2,
        "reservedWordCase": "upper"
    },
    "editor.accessibilitySupport": "off",
    "http.proxySupport": "off",
    "files.autoSave": "afterDelay",
    "workbench.editorAssociations": {
        "*.md": "default",
        "*.ipynb": "jupyter.notebook.ipynb"
    },
    "python.pythonPath": "/usr/bin/python3",
    "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"
        }
    },
    "workbench.startupEditor": "none",
    "go.toolsManagement.autoUpdate": true,
    "workbench.editor.enablePreview": false,
    "python.defaultInterpreterPath": "/usr/bin/python3",
    "security.workspace.trust.untrustedFiles": "open",
}
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值