Open rgrebski opened 3 years ago
I can of course help with implementing the feature, but need some input/hints/thoughts first.
Hi, that would definitely be a nice feature for our maven and gradle plugin users!
I can't point you to the direct classes as I don't know them either but the general idea would be going from the main Project
instance, asking some kind of a WorkspaceManager
(IDEA uses a log of Manager singletons) and use this manager to search for the top level build file.
I expect intellij to have some kind of build tool model interface which can be used for such cases I guess.
I have detekt-maven-plugin configured in my MAven project using config file (configResource) from shared dependency (detekt-configs). I would like IntelliJ plugin to read and apply same configuration from itself whenever it finds the detekt-maven-plugin config.