In this case, the “Module Contributor” setting tells MPS to use the IDEA Plugin class loader to access module classes: One of the most common module contributors is IDEA Plugin. The “Class loader” setting determines whether MPS is responsible for creating a class loader or if classes are loaded by code that contributes a module. If your module is not expected to deliver classes for MPS use, like for a sandbox or a solution that the generated sources are part of another project, use “None”: Still, MPS assumes there are classes for the module in the case when “External Compiler” is selected. “Compilation” determines whether MPS will compile generated sources or if there’s another mechanism that compiles classes and MPS shouldn’t compile anything. The section expands to reveal different settings to control compilation, class loading, and extension for a module: This is how the Java Facet page from Solution Properties looks now, with a collapsed section at the top, where the “Compile In MPS” flag used to be: We’ve exposed the settings for Solution modules only – both Language and Generator modules take the same approach, but have their settings configured implicitly. IDEA Plugin Module Facet has been deprecated and will no longer be used. The Java Facet page for the Solution module was reworked to house all relevant settings and identify common scenarios to help language designers and users easily recognize a module’s intended use. In MPS 2022.3, we’ve brought all these under a single umbrella. To address this range of tasks, MPS relied on a few scattered and confusing flags and settings, like SolutionKind, IDEA Plugin Module Facet, Compile In MPS, and many more (see MPS-20726). MPS modules serve different purposes, ranging from a sandbox to play with your language to an active plugin code to alter MPS or IntelliJ IDEA platform behavior. Instead of the error highlighting the whole node, it can be configured to highlight only a property or a reference.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |