英文:
How to have GoLand constantly inspect all files like VS Code does
问题
有人知道如何让GoLand持续检查代码中的错误吗?目前它只检查打开的文件,并在右上角显示状态,就像这样:
但是在VS Code中,它会持续检查工作模块的所有错误。
GoLand确实提供了手动检查,但效率不高,而且经常检查无关的模块(当我设置为当前模块时,它无法检测到任何错误)。
英文:
Does anyone know how to have GoLand constantly inspecting errors in code? Right now it inspects ONLY the open files and shows the status on the top-right corner like this:
But in VS Code, it constantly checks all errors of the working module.
GoLand does offer manual inspection but it's not as efficient and often checks irrelevant modules too (when I set it current module then it can't detect any errors)
答案1
得分: 1
如Goland问题GO-4618中提到的:
>出于性能和可用性的原因,他们可能会将问题工具窗口的内容限制为当前编辑器。
GO 9494正在跟踪该问题:“自定义问题视图报告范围”
>应该有一种方法来自定义问题视图窗口以支持以下范围:
>
> - 当前文件
> - 当前文件的包(我会默认选择这个)
> - 所有打开的文件包
> - 整个项目(IDEA-68854)
尽管仍在进行中(2021年10月)。
英文:
As mentioned in Goland issue GO-4618:
> They might be limiting the contents of the Problems tool window to just the current editor for performance and usability reasons.
GO 9494 is following the issue: "Customize Problems View reporting scope"
>There should be a way to customize the Problems View window to support the following scopes:
>
> - Current File
> - Current File's Package (I'd default to this)
> - All Opened Files Packages
> - Whole Project (IDEA-68854)
Still in progress (oct. 2021) though.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论