英文:
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
英文:
-
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论