VSCode vs Goland linter

huangapple go评论90阅读模式
英文:

VSCode vs Goland linter

问题

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

我没有找到相关的信息,所以提供一些外部资源来了解这个问题和linter的一般知识对我会很有帮助。

英文:

I wonder if the VSCode golang linter used in this VSCode extension: https://marketplace.visualstudio.com/items?itemName=golang.go
and the linter being used in Jetbrains Goland are the same or not. If not what are the differences?

I did not find anything talking about it, so external sources to read about it and the linter, in general, will be very helpful for me.

答案1

得分: 4

在VSCode中,你可以根据自己的喜好指定代码检查工具:

  • Goland实现了自己的代码检查工具,你可以在[文件->设置->编辑器->检查->Go]中浏览这些规则,但你也可以自定义你的代码检查工具:

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

英文:
  • In VSCode, you can specify the lint tool as you like:
    VSCode vs Goland linter

  • Goland implements its own linter, you can browse those rules in [File->Settings->Editor->Inspections->Go], but you can also custom your linters:

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

huangapple
  • 本文由 发表于 2022年1月20日 17:35:52
  • 转载请务必保留本文链接:https://go.coder-hub.com/70783819.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定