Skip to main content

intellij-nsx-support


1.21.0 (2024-03-15)

Changed

  • From prime-core version 2024.1.0 Expander XML files will add a reference <elementType../> to ExpandableElement.

Fixed

  • Fixed elementTypeName not updated after expander copy.
  • Fixed elementType selection empty when copying an expander.
  • Fixed expander copy failing when test files are absent.
  • Fixed feature options not included when creating a copy.

1.20.4 (2024-02-20)

Fixed

  • Fixed ExpanderFeature added to the same Feature file twice.

1.20.3 (2024-01-24)

Added

  • Added validation to ensure every Expander name starts with an uppercase letter.

1.20.2 (2024-01-09)

Added

  • Added @net.democritus.expander.junit.TestModel as an Entrypoint, suppressing "unused" warnings.

Fixed

  • ExpanderFeature test template for java now includes testImports template.

1.20.1 (2023-12-11)

Changed

  • Junit5 templates will no longer use the public access modifier for classes and methods.

1.20.0 (2023-12-08)

Added

  • Added support for junit5 (jupiter) in expander templates.
  • Added plugin option to generate expander templates for expanders-assert.
    • Implemented for Expander, Feature and FeatureExpander templates.

Changed

  • Feature templates will now use the useActualExpander setting by default, to create more predictable tests.

1.19.0 (2023-12-06)

Fixed

  • Disabled instrumentation in plugin build.

Added

  • Added expander template form validation for packageName.
  • Added expansionStep template form validation for name and packageName.

1.18.3 (2023-11-28)

Fixed

  • Fixed templating errors for feature expanders.

1.18.2 (2023-11-09)

Changed

  • Updated stg4 plugin dependency to version 0.10.

1.18.1 (2023-11-03)

Added

  • Added unit tests for generators other than Expander.

Fixed

  • [NSX-387] Fixed error when creating a new Expander Feature.
  • Fixed template error when generating Feature.

1.18.0 (2023-10-30)

Added

  • Added debugging support for Mapping.xml files using the JVM debugger.
    • Define breakpoints on <mapping ..> to observe resulting state.
    • Define breakpoint on any other tag with ognl expressions to observe local state before evaluation.
    • Debugging stackframe will provide a context object with all available state.
    • Debugging stackframe will provide a ognl object for evaluating ognl expressions using ognl.eval("<<ognl expr>>").

Changed

  • Java Expander template will now use the imports anchor around @imports and generates a related anchor test.
  • Feature template will now add the feature.mapping.doNotInheritExpanderMapping option by default.

Fixed

  • [NSX-382] Fixed creating a program expander causing an error.

1.17.2 (2023-10-23)

Fixed

  • Fixed an issue in import reordering causing all imports to become custom.

1.17.1 (2023-10-20)

Changed

  • Provided defaults for schema versions, to not cause issues when it is not found on the classpath.

1.17.0 (2023-10-17)

Added

  • Added custom-import support which rearranges imports of .java files before save.
  • Added debounced search to dropdowns, allowing search beyond the first letter.
  • Added extended default template for 'JAVA' sourceType to include package, class and @imports.
  • Added extended default mapping for 'JAVA' sourceType to include artifact, packageName and {element}.
  • Added quick-fix to resolve and update all schemas under 'https://schemas.normalizedsystems.org/'.
  • Added block folding for using tags in mapping files (at least 5 consecutive).

Changed

  • Changed dropdowns to be more consistent and list the full functional key.
  • Changed default sourceType to 'JAVA', to avoid unintended use of 'SRC' which is the current default.
  • Import package names are now resolved based on the metamodel instead of always using net.democritus.elements.

1.16.1 (2023-09-14)

Fixed

  • The net.democritus.contract.NotNull annotation was incorrectly registered as net.democritus.contract.NonNull.

Changed

  • Updated dependencies:
    • net.democritus:expanders-core:5.30.4 > net.democritus:expanders-core:5.33.1
    • net.democritus.metamodel:prime-core:2023.5.3 > net.democritus.metamodel:prime-core:2023.6.1
    • net.democritus:nsx-logging:2023.5.0 > net.democritus:nsx-logging:2023.8.0
    • net.democritus.metamodel:prime-test-support:2023.5.3 > net.democritus.metamodel:prime-test-support:2023.6.1 (test only)
    • net.democritus:nsx-shared-testing:2023.5.0 > net.democritus:nsx-shared-testing:2023.6.0 (test only)

1.16.0 (2023-07-27)

Fixed

  • Refactored STG file feature anchor highlighter, so it no longer uses deprecated APIs that can impact performance.

Changed

  • Updated dependencies:
    • net.democritus:expanders-core:5.28.1 > net.democritus:expanders-core:5.30.4
    • net.democritus.metamodel:prime-core:2023.5.2 > net.democritus.metamodel:prime-core:2023.5.3
    • net.democritus:nsx-logging:2023.4.0 > net.democritus:nsx-logging:2023.5.0
    • net.democritus.model:prime-builders:2.1.2 > net.democritus.model:prime-builders:2.1.3
    • net.democritus.metamodel:prime-test-support:2023.5.2 > net.democritus.metamodel:prime-test-support:2023.5.3 (test only)
    • net.democritus:nsx-shared-testing:2023.4.0 > net.democritus:nsx-shared-testing:2023.5.0 (test only)

1.15.0 (2023-07-10)

Changed

  • Updated minimum version of IntelliJ to 2022.3.
  • Updated dependencies:
    • net.democritus:expanders-core:5.22.6 > net.democritus:expanders-core:5.28.1
    • net.democritus.metamodel:prime-core:2023.3.1 > net.democritus.metamodel:prime-core:2023.5.2
    • net.democritus:nsx-logging:2023.1.1 > net.democritus:nsx-logging:2023.4.0
    • net.democritus.validations.model:validations-core:2.8.0 > net.democritus.validations.model:validations-core:3.1.2
    • net.democritus.model:prime-builders:1.5.1 > net.democritus.model:prime-builders:2.1.2
    • net.democritus.metamodel:prime-test-support:2023.3.1 > net.democritus.metamodel:prime-test-support:2023.5.2 (test only)
    • net.democritus:nsx-shared-testing:2023.1.1 > net.democritus:nsx-shared-testing:2023.4.0 (test only)

1.14.0 (2023-05-17)

Fixed

  • Return correct composite type in tests for new model validation.

Changed

  • Updated dependencies:
    • net.democritus:expanders-core:5.19.6 > net.democritus:expanders-core:5.22.6
    • net.democritus.metamodel:prime-core:2023.1.1 > net.democritus.metamodel:prime-core:2023.3.1
    • net.democritus:nsx-logging:2023.0.0 > net.democritus:nsx-logging:2023.1.1
    • net.democritus.validations.model:validations-core:2.7.0 > net.democritus.validations.model:validations-core:2.8.0
    • net.democritus.model:prime-builders:1.4.1 > net.democritus.model:prime-builders:1.5.1
    • org.slf4j:slf4j-simple:2.0.6 > org.slf4j:slf4j-simple:2.0.7 (test only)
    • net.democritus.metamodel:prime-test-support:2023.1.1 > net.democritus.metamodel:prime-test-support:2023.3.1 (test only)
    • net.democritus:nsx-shared-testing:2023.0.0 > net.democritus:nsx-shared-testing:2023.1.1 (test only)

1.13.0 (2023-03-23)

Changed

  • Updated dependencies:
    • net.democritus:expanders-core:5.14.2 > net.democritus:expanders-core:5.19.6
    • net.democritus.metamodel:prime-core:2022.10.3 > net.democritus.metamodel:prime-core:2023.1.1
    • net.democritus:nsx-logging:2022.3.0 > net.democritus:nsx-logging:2023.0.0
    • net.democritus.validations.model:validations-core:2.4.1 > net.democritus.validations.model:validations-core:2.7.0
    • net.democritus.model:prime-builders:1.2.2 > net.democritus.model:prime-builders:1.4.1
    • org.slf4j:slf4j-simple:2.0.3 > org.slf4j:slf4j-simple:2.0.6 (test only)
    • net.democritus.metamodel:prime-test-support:2022.10.3 > net.democritus.metamodel:prime-test-support:2023.1.1 (test only)
    • net.democritus:nsx-shared-testing:2022.3.0 > net.democritus:nsx-shared-testing:2023.0.0 (test only)
  • Updated templates for expander, feature, feature expander and expansion step to use TestModelBuilder and define a notApplicable test where needed.

1.12.1 (2022-12-01)

Fixed

  • New validation implementations were missing an import.
  • New validation implementations did not have the correct severity that was selected in the create dialog.

1.12.0 (2022-11-07)

Fixed

  • Description of new transmutation was not inserted into the generated file.

Added

  • Added action to create a new model validation.

1.11.0 (2022-10-24)

Fixed

  • Some dropdowns with datarefs showed duplicate entries.
  • Dialog to create expanders did not erase validation error on name once the name became valid again.

Added

  • Added action to create a new model transmutation.

Changed

  • Updated ST4 plugin dependency to 0.9.
  • Updated dependencies:
    • net.democritus:expanders-core:5.4.3 > net.democritus:expanders-core:5.14.2
    • net.democritus.metamodel:prime-core:2021.10.1 > net.democritus.metamodel:prime-core:2022.10.3
    • net.democritus:nsx-logging:2020.4.0 > net.democritus:nsx-logging:2022.3.0
    • org.slf4j:slf4j-simple:1.7.27 > org.slf4j:slf4j-simple:2.0.3 (test only)
    • junit:junit:4.12 > junit:junit:4.13.2 (test only)
    • net.democritus.metamodel:prime-test-support:2021.10.1 > net.democritus.metamodel:prime-test-support:2022.10.3 (test only)
    • net.democritus:nsx-shared-testing:2020.4.0 > net.democritus:nsx-shared-testing:2022.3.0 (test only)
  • Updated minimum requirement for IntelliJ to version 2021.2.4.

1.10.6 (2022-01-04)

  • Fixed copying of artifactModifiers during copy expander
  • Updated prime-core version

1.10.5 (2021-09-27)

  • Added New Expansion Step action
  • Fixed Step MD file not being grouped in file view

1.10.4 (2021-09-01)

  • Fixed DataRef contribution failing when the module is not yet initialized

1.10.3 (2021-08-30)

  • Fixed deprecated module message bus use

1.10.2 (2021-06-29)

  • Another fix for POM element folding throwing up
  • Added POM <profile> folding support

1.10.1 (2021-06-22)

  • Excluded scratch files for the customFeature indexing

1.10.0 (2021-06-17)

  • Added tool window for detecting custom features. It will look for comments like // @feature:my-feature. Files will be grouped together based on the provided feature name. You can also add // @feature:my-feature:start and // @feature:my-feature:end around custom code.

1.9.5 (2021-02-11)

  • Fixed POM element folding sometimes throwing up during contents changes

1.9.4 (2021-02-04)

  • Suppress data resource loading error for main/resources

1.9.3 (2021-02-03)

  • Suppress data resource loading error for DataRefReference

1.9.2 (2021-02-03)

  • Added support for new schema URIs
  • Improvements in icon layer caching

1.9.1 (2021-01-12)

  • Fixed Java custom code detector not detecting imports & added caching layer

1.9.0 (2021-01-04)

  • Fixed files view breaking on mapping file (call to deprecated/removed createLayeredIcon)
  • Updated minimum IDEA version 2018.3 -> 2020.1
  • Added grouping of (AdditionalExpansion)Step files

1.8.2 (2020-11-18)

  • Updated default expander and feature temples
  • Fixed folding toggles

1.8.1 (2020-09-28)

  • Support more variants of source directories when creating expanders, features etc.

1.8.0 (2020-06-25)

  • Removed STG template & condition folding (now provided automatically by stg plugin 0.8+)
  • Restore compatibility with stg plugin version 0.8

1.7.0 (2020-06-15)

  • Created copy handler for features
  • Improved support for uniform features

1.6.2 (2020-06-15)

  • Fixed issues with combo-boxes of expander form. They will now correctly select the initial values provided to the form as well as providing the correct values when copying or moving an expander.

1.6.1 (2020-05-29)

  • Implemented copying/moving an expander to a different module.

1.6.0 (2020-04-10)

  • Updated for IntelliJ 2020.1
  • Added folding of pom plugins and dependencies (enable in Tools > NSX Support)
  • Added experimental action to fix custom-imports anchor (Code > Fix Custom Imports)

1.4.0 (2020-03-17)

  • Fixed incompatibility with prime-data 2020.4.0

1.3.16 (2020-01-06)

  • Fixed dataRef completion working only for specific XMLNS versions

1.3.15 (2019-11-25)

  • 'ExpanderDev.NewExpanderFeature': Automatically set selected Feature

1.3.14 (2019-11-25)

  • Fix issues with copying expanders for more recent versions of IntelliJ

1.3.13 (2019-11-08)

  • Fix menu labels

1.3.12 (2019-11-07)

  • ExpanderFeature dialog can now select expanders from the project's dependencies

1.3.11 (2019-11-06)

  • Improved ExpanderFeature templates

1.3.10 (2019-11-06)

  • Added action 'ExpanderDev.NewExpanderFeature' to create new Expander Features

1.3.8 (2019-11-04)

  • Fixed nullPointerException in comboBox

1.3.6 (2019-10-29)

  • Added support for copying and moving expanders

1.3.5 (2019-10-25)

  • Added action 'ExpanderDev.NewFeature' to create new features

1.3.4 (2019-10-24)

  • Improved action 'ExpanderDev.NewExpander'