Module type - need? Facet - for all ?
After week of working on plugin for IDEA (current work on parsing c/c++ syntax - simple code)
Some of hour i think of SDK (c++), and it module type - but sometimes need Java + C pair, yes i known u can create Facet, now some plugins has ModuleType + FacetType
Maybe better, remove all module types, and work with Facet only.
For example
Module Facet:
>> Java
>> C++
>> XML
>> Hibernate Suport
- add Up/Down actions, but make method canBeUp(Facet) - because hibernate cant be upper than XML.
And create types of source root, type Any(parsing all facets), and for choose facet, Source Root(c++), Source Root(java)
Please sign in to leave a comment.