Is facet auto-detection for plug-ins too?
Hi,
Is Facet auto-detection (on creation of a new module from existing sources) for custom plug-ins too, e.g. when the plug-in has it's own facet ? If yes, how to do it?
Also what about the cases when the facet depends upon another one, e.g. the Web Facet to be detected and registered first? How to delay the custom one to be active only when the Web Facet is up?
Thank you,
Demetrios.
Please sign in to leave a comment.
I have the same question for plugins supplying VCS integrations, is there a way to have them auto detecting if the current project/module is managed by the vcs the plugin is supporting ?
Hello dkyriakis,
Yes. See FacetDetector and FacetDetectorRegistry APIs.
If you have declared the underlying facet type of your facet, this should
work correctly.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hello Thibaut,
Yes. Override AbstractVcs.isVersionedDirectory().
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thank you very much :).
I was wondering, because none of the existing 3rd party web frameworks plug-ins seem to use auto-detection functionality described by you :).
Demetrios.
thanks !
i've been wanting to ask for it for a long time :)