美文网首页工作心得体会
vscode 保存清除错误内容

vscode 保存清除错误内容

作者: 魔王大柚子 | 来源:发表于2021-10-25 16:23 被阅读0次

    如果
    "go.useLanguageServer": false
    改成:
    "go.formatTool": "gofmt"

    如果
    "go.useLanguageServer": true
    vscode添加:
    "go.toolsManagement.autoUpdate": true,
    "go.formatTool": "gofmt",
    "[go]": {
    "editor.formatOnSave": true,
    "editor.codeActionsOnSave": {
    "source.organizeImports": false,
    }
    },

        "go.lintOnSave": "off",
        "go.useLanguageServer": true,
        "go.vetOnSave": "off",

    相关文章

      网友评论

        本文标题:vscode 保存清除错误内容

        本文链接:https://www.haomeiwen.com/subject/dnhyaltx.html