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

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

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

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

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.tabCompletion": "onlysnippets","editor.wordBasedSuggestions": false
    },"gitlens.advanced.messages": {
        "suppressImproperWorkspaceCasingWarning": true
    },"editor.tabSize": 8,"editor.cursorStyle": "line","editor.insertSpaces": false,"editor.lineNumbers": "on","editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-","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"
    }
}
jiajia2xm 回答:无效的工作区配置:golang 路径中​​的大小写不匹配

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/44.html

大家都在问