From b7706c5fc880730bbf58bc12b818d7059b2a7d60 Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Thu, 13 Nov 2025 08:35:49 +0100 Subject: [PATCH] fix: register spellcheckers via IntelliJ extension points --- CHANGELOG.md | 1 + code/.mps/dictionaries/project.xml | 43 - .../de.itemis.mps.extensions.changelog.mps | 86 + ...ellcheck.generator.templates@generator.mps | 1457 ++++++++++++----- 4 files changed, 1108 insertions(+), 479 deletions(-) delete mode 100644 code/.mps/dictionaries/project.xml diff --git a/CHANGELOG.md b/CHANGELOG.md index 14e9ff8c98..bbe664aa2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ The format is *loosely* based on [Keep a Changelog](https://keepachangelog.com/e - *de.slisson.mps.tables* IllegalArgumentException thrown when copy-paste support is not defined for a table node (#1650). - *de.slisson.mps.tables* Textgen warning about duplicate unit name when an editor model contains multiple tables without an action map. - *de.itemis.mps.editor.pagination* A NullPointerException was fixed for cases where the clicked node was null. +- *de.itemis.mps.spellcheck* Custom dictionaries are not saved in the .mps/dictionaries/project.xml files anymore and pollute the file that is normally used for words saved manually by the user. ## October 2025 diff --git a/code/.mps/dictionaries/project.xml b/code/.mps/dictionaries/project.xml deleted file mode 100644 index 82914d616d..0000000000 --- a/code/.mps/dictionaries/project.xml +++ /dev/null @@ -1,43 +0,0 @@ - - - - blutil - celllayout - conceptswitch - construx - genify - grammarcells - hyperedges - langcraft - langextend - langvis - layouter - layouting - linenumbers - mbeddr - modelix - modulize - mouselistener - mpsutil - nativelibs - nodeplex - noderversioning - plaintextgen - polymorphicfunctions - projectview - projedit - q60 - richtext - shadowmodels - slisson - structurecheck - syntaxify - testutils - treenotation - typemorph - virtualinterfaces - visuform - xmodelgen - - - \ No newline at end of file diff --git a/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps b/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps index 54db8caa41..f6af39bfcb 100644 --- a/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps +++ b/code/solutions/de.itemis.mps.extensions.changelog/models/de.itemis.mps.extensions.changelog.mps @@ -401,6 +401,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/spellcheck/languages/de.itemis.mps.spellcheck/generator/templates/de.itemis.mps.spellcheck.generator.templates@generator.mps b/code/spellcheck/languages/de.itemis.mps.spellcheck/generator/templates/de.itemis.mps.spellcheck.generator.templates@generator.mps index ef6fbc7c2d..9b81aac4a2 100644 --- a/code/spellcheck/languages/de.itemis.mps.spellcheck/generator/templates/de.itemis.mps.spellcheck.generator.templates@generator.mps +++ b/code/spellcheck/languages/de.itemis.mps.spellcheck/generator/templates/de.itemis.mps.spellcheck.generator.templates@generator.mps @@ -6,6 +6,7 @@ + @@ -15,24 +16,54 @@ - + + + + + + + + + + + + - - - - - - - + + + + + - - + - + + + + + + + + + + + + + + + + + + + + + + + @@ -46,31 +77,71 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + @@ -79,28 +150,57 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + @@ -109,24 +209,24 @@ + + + - - - - - - - - - - + + + + + + + @@ -140,24 +240,18 @@ - - - - - - - - - - - - - - + + + + + + + + @@ -167,148 +261,355 @@ + + + + - - - - - - - - + + + + + + + + - - - + + + + + + + + + + + + - + - + - + - - - - - + + + + + - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + @@ -316,22 +617,40 @@ + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + @@ -339,400 +658,666 @@ - - - - - - + + + + + + + + + + + + - - - + + + + - - - - - - - - - - - - - + + + + - - - - + + + + + - - - - - - - + + + + + - - - - - - - - - - - + + + + + + - - - - - - - - - - - - - - + + + + + + - - - - - + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + + - - - + + + + + + + + + + + + + + + + - - - - - - + + + + + + + + + + + + + + - - - - + + + + + - - + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - + + + + - - - - - + + + + + + + + + + + - - - - + + + + + + + + + + + + - - - - + + + + + - - + + - - - - - - - - - - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + +