vscode go mod 代码跳转

如果你对这个选项有打钩先取消,然后重启vscode,再试试,

一些别的设置,说不定对你有用

{
    "go.formatTool": "gofmt",
    "go.gopath": "/home/lzj/go",
    "go.autocompleteUnimportedPackages": true,
    "go.lintOnSave": "off",
    "go.toolsGopath": "/home/lzj/go/bin",
    "go.goroot": "/usr/local/go",
    "go.gotoSymbol.includeGoroot": true,
    "go.inferGopath": false,
    "go.gotoSymbol.includeImports": true,
    "go.languageServerExperimentalFeatures": {},
}

my vscode setting.json

相关文章:

  • 2021-11-02
  • 2022-12-23
  • 2021-07-23
  • 2021-08-19
  • 2021-06-04
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-03-09
  • 2022-12-23
  • 2022-12-23
  • 2021-05-28
  • 2022-12-23
相关资源
相似解决方案