How to integrate with goland code inspection? #5185
-
I have installed the golangci-lint plugin on Goland, configured to file watcher, and everything is ok! However, I also expect linter result can be showed in real-time, not just by file saved. That is pretty look-like code inspections, it gives you errors/warning/typo hint on the top-right window or show wavy lines under code, so I wander if our plugin can give the same behavior? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
FYI, we are not the maintainers of the Goland plugin for golangci-lint, this plugin is developed by JetBrains. So golangci-lint needs files to analyze, your files need to be on your file system. There is no "real-time" inspection if the changes are not saved. The plugin is not a code inspection: code inspections are rules inside the IDE. |
Beta Was this translation helpful? Give feedback.
FYI, we are not the maintainers of the Goland plugin for golangci-lint, this plugin is developed by JetBrains.
But I guess it just runs the binary.
So golangci-lint needs files to analyze, your files need to be on your file system.
There is no "real-time" inspection if the changes are not saved.
The plugin is not a code inspection: code inspections are rules inside the IDE.
As you said, the plugin is run by a file watcher, so when files are saved.