I want to create a plugin for intellij idea and in that I want to get the inspections or code analysis errors.By default intellij will show those code inspections like errors, dead code, or unused components.So I want to get those inspections pro grammatically to my plugin.I am able to create an tool button from my plugin and getting the code. Process is,
-->in that it will show inspections or errors
so I want get those inspection to my plugin.How can I do that?
The simplest API for getting the inspection errors in a given set of files is CodeSmellDetector:
CodeSmellDetector.getInstance(project).findCodeSmells(files);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With