csense-oss / idea-kotlin-checked-exceptions

A plugin that adds errors / hints / quickfix related to checked exceptions for kotlin.
MIT License
25 stars 2 forks source link

Inspect entire project #39

Open 4brunu opened 1 month ago

4brunu commented 1 month ago

Is it possible to inspect the entire project and present some report? It would be nice is this is supported and if this could be called by the terminal to inspect with CI/CD.

Tvede-dk commented 1 month ago

That depends: I do recall something about the ability to run IDEA plugins though gradle (but that required IDEA to be installed). https://github.com/JetBrains/inspection-plugin

If not, then I dont belive it would be "trivial", although the kotlin compiler is using the same PSI etc that IDEA uses, thus it "might" be possible to turn this code into a kotlin compiler plugin (with a lot of configuration). That is an interresting idea for sure.