【问题标题】:VSCode vs Goland linterVSCode vs Goland linter
【发布时间】:2022-01-20 09:35:52
【问题描述】:

我想知道这个VSCode扩展中使用的VSCode golang linter是否:https://marketplace.visualstudio.com/items?itemName=golang.go Jetbrains Goland 中使用的 linter 是否相同。如果不是,有什么区别?

我没有找到任何关于它的内容,因此阅读有关它和 linter 的外部资源通常对我很有帮助。

【问题讨论】:

    标签: go visual-studio-code goland linter


    【解决方案1】:
    • 在 VSCode 中,您可以根据需要指定 lint 工具:

    • Goland 实现了自己的 linter,您可以在 [File->Settings->Editor->Inspections->Go] 中浏览这些规则,但您也可以自定义 linter:

    https://dev.to/s0xzwasd/configure-revive-go-linter-in-goland-2ggl

    【讨论】:

      猜你喜欢
      • 2016-07-19
      • 2020-01-04
      • 2020-05-18
      • 2022-01-06
      • 2020-05-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多