无效的工作区配置:golang 路径中​​的大小写不匹配

时间:2021-08-02 01:00:19

标签: go visual-studio-code

使用自制软件安装 golang 后,我在 vscode 中看到下面的屏幕截图错误,并且 IntelliSense 无法正常工作。 我不知道如何解决这个问题,任何帮助都会很棒。

仅供参考:我确实在 vscode 中安装了所有为 golang 推荐的扩展。

vscode image

vs 代码

<块引用>

设置.json

{
    "workbench.iconTheme": "vscode-icons",
    "editor.suggestSelection": "first",
    "vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
    "workbench.colorTheme": "One Dark Pro",
    "tabnine.experimentalAutoImports": true,
    "editor.fontSize": 18,
    "[javascript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    },
    "editor.formatOnSave": true,
    "editor.formatOnPaste": true,
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "workbench.editorAssociations": {
        "*.ipynb": "jupyter.notebook.ipynb"
    },
    "cSpell.userWords": [
        "Aditya",
        "Bluespacelabs",
        "Formik",
        "Highcharts",
        "Kumar",
        "Palin",
        "semibold"
    ],
    "[dart]": {
        "editor.formatOnSave": true,
        "editor.formatOnType": true,
        "editor.rulers": [
            80
        ],
        "editor.selectionHighlight": false,
        "editor.suggest.snippetsPreventQuickSuggestions": false,
        "editor.suggestSelection": "first",
        "editor.tabCompletion": "onlySnippets",
        "editor.wordBasedSuggestions": false
    },
    "gitlens.advanced.messages": {
        "suppressImproperWorkspaceCasingWarning": true
    },
    "editor.tabSize": 8,
    "editor.cursorStyle": "line",
    "editor.insertSpaces": false,
    "editor.lineNumbers": "on",
    "editor.wordSeparators": "/\\()\"':,.;<>[email protected]#$%^&*|+=[]{}`?-",
    "editor.wordWrap": "off",
    "diffEditor.wordWrap": "on",
    "json.schemas": [
        {
            "name": "vscode-expo-manifest",
            "url": "file:///Users/adityakumar/Library/Application%20Support/Code/User/globalStorage/bycedric.vscode-expo/manifest-42.0.0.json",
            "fileMatch": [
                "app.json",
                "app.config.json"
            ]
        }
    ],
    "eslint.format.enable": true,
    "[typescriptreact]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    }
}

0 个答案:

没有答案