-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Custom Facets #103
Comments
In #127 I did this for web resource directories in the web facet. Apart from support in this Gradle plugin, it also needs explicit support in the IDE using the |
@dgeissl indeed, you need to provide the support on IDEA side as well. |
@nskvortsov while the facet autodetection is ok - it's still annoying if you have to wait for intellij to detect the projects nature and click the automatic configuration to happen. If I get it correctly then everything that has a autodetect feature does not have a tooling api importer? |
Acutally, almost none have a tooling api importer at the moment. Regardless of autodetect implementation. |
As mentioned here #36 many users have the need for custom Facets and many of them can not be autodetected.
So i was wondering if there is a way to provide pull requests that support the types of Facets we'd like to support or even enhance the plugin in our own plugin to add even more (non-public) Facet types.
From the Plugins implementation side a facet seems to be just a map (containing other maps and so on), so I tried adding such a custom Facet in a local Plugin:
Unfortunately this did not work - or had no visible effect on the modules settings or the created iml files. So I wonder where is that magic happening that applies the setting from this plugin into intellij? If we know the interface we may provide the pull requests or even the configuration on our own and help this plugin to grow.
The text was updated successfully, but these errors were encountered: