Commit graph

102 commits

Author SHA1 Message Date
Janik 6758e16cc6
Merge pull request #4 from eMoflon/bugfix/import-scope-filtering
Bugfix/import scope filtering
2024-01-10 13:06:11 +01:00
JanikNex 7126b2aef3 implemented code action to propose additional imports that would fix missing reference resolutions 2024-01-06 20:36:51 +01:00
JanikNex 1ee4b47c3d updated code action selector to allow multiple code actions for a single diagnostic 2024-01-06 20:34:22 +01:00
JanikNex ff6023bbcc fixed import aliasing validation 2024-01-06 20:33:09 +01:00
JanikNex 687bdd8a7e fixed self import validation 2024-01-06 20:28:42 +01:00
JanikNex b1d627ef3a implemented search for implementing (scope fixing) files 2024-01-06 20:28:22 +01:00
JanikNex b4bf02fe4a fixed import package shadowing validation 2024-01-06 20:27:34 +01:00
JanikNex f320287470 fixed import validations on reference elements 2024-01-06 20:21:52 +01:00
JanikNex 95b6bd9207 fixed import validations on interface elements 2024-01-06 20:20:14 +01:00
JanikNex 7689ef4fb4 fixed import validations on class elements 2024-01-06 20:19:48 +01:00
JanikNex 49d8a03fd6 updated scoping for import aliasing
when defining aliases of an imported package, it should only be possible to reference packages contained in that file.
2024-01-06 20:16:17 +01:00
JanikNex 0bba6e46b1 implemented relative path resolution 2024-01-06 20:13:11 +01:00
JanikNex 21a4fc8d10 updated global scoping
include only references from imported sources into the global scope

results in unresolved references, in case their definitions are not imported
2024-01-06 20:12:01 +01:00
Janik 6cb91737c2
Merge pull request #3 from eMoflon/feature/deserializer
Feature/deserializer
2024-01-05 14:50:07 +01:00
JanikNex 12d8f7ee7b updated README 2024-01-04 13:26:03 +01:00
JanikNex 50e7c8ca14 added few examples for deserialization / code generation 2024-01-04 13:17:02 +01:00
JanikNex dae0411235 fixed default multiplicities 2024-01-03 13:56:41 +01:00
JanikNex a32eaba9fa added containment modifier 2024-01-03 12:58:13 +01:00
JanikNex 7a902efd23 replaced URI lib to fix test execution 2024-01-01 23:33:20 +01:00
JanikNex 561aa43a94 fixed deserializer template for attributes with default values of type string 2024-01-01 23:32:08 +01:00
JanikNex bd0e82fb8d prevent ecore/xmi generation in case of flawed mml files, added warning in case of file serialization 2024-01-01 01:38:48 +01:00
JanikNex e6fff2a29f updated README to include additional information about modifiers 2023-12-31 19:14:29 +01:00
JanikNex 57609bfbdc added QuickFixes for invalid modifier combinations and unnecessary modifiers 2023-12-31 19:03:28 +01:00
JanikNex 3e087aa18b implemented validators to check the validity and necessity of modifiers on attributes and references 2023-12-31 18:52:26 +01:00
JanikNex be21772650 updated deserializer so that only modifiers that differ from the default value are set active. 2023-12-31 18:51:21 +01:00
JanikNex f8deb80a9f fixed ClassElementModifier default values and added negated modifiers
Previously, all modifiers were always set to false unless they were explicitly activated by their keyword in the code.
Since some modifiers in EMF are set to true by default, this led to additional work to achieve the default behavior of EMF.
Now the default values have been set analogous to EMF and negations have been implemented to be able to set them to false.
2023-12-31 18:49:49 +01:00
JanikNex 373ce77648 updated deserializer to support multiple documents 2023-12-30 19:36:47 +01:00
JanikNex 398148894d added ecore deserialization command 2023-12-28 21:39:09 +01:00
JanikNex 8b7b91ea36 implemented id resolver 2023-12-28 21:37:15 +01:00
JanikNex 301c719154 updated serialize-to-file-command 2023-12-28 21:32:50 +01:00
JanikNex dc44f6708d fixed failing file writing due to missing parent directories 2023-12-28 21:32:01 +01:00
JanikNex fb76a2df34 refactored command registration 2023-12-26 01:38:45 +01:00
JanikNex 4857951385 implement basic deserializer functions and templates 2023-12-26 00:48:27 +01:00
JanikNex 827ecb3adb export Entities to make them accessible from outside 2023-12-26 00:47:04 +01:00
Janik 5dea101d22
Merge pull request #2 from eMoflon/feature/langium-update-without-eclipse
Update langium to 2.x
2023-12-20 15:00:12 +01:00
JanikNex f1ce9cbe69 updated dependencies, addresses CVE-2023-49293 2023-12-20 14:16:15 +01:00
JanikNex bfc88a9ddf updated README.md 2023-12-14 20:31:02 +01:00
JanikNex 8bb7888596 implemented connection to model-modeling-language-cli
CLI-connection allows to perform Ecore/XMI generation, in addition the UX has been improved and the code restructured
2023-12-14 13:51:45 +01:00
JanikNex a6c13b7bd3 fixed invalid dependencies
transitive dependency on vscode that is not available in the language server
2023-12-11 18:34:53 +01:00
JanikNex 3932302f69 implemented command for serialized workspace export 2023-12-11 13:11:25 +01:00
JanikNex 60909da122 updated README.md 2023-12-09 09:00:27 +01:00
JanikNex 9daa66344f updated to langium 2.1.0
regenerated project with new langium generator, reintegrated custom services, updated file structure
2023-12-09 08:57:32 +01:00
JanikNex 2fd9f9fa64 bump vitest version to address CVE-2023-43646 2023-10-04 17:30:56 +02:00
JanikNex 2cb57e796a fixed ArithExpr in macro- and function calls 2023-10-04 16:43:57 +02:00
JanikNex d9d7fe8639 added comments 2023-09-17 17:47:10 +02:00
JanikNex 3ee870872b added comments 2023-09-17 17:37:24 +02:00
JanikNex 69afaf9b9e fixed typo 2023-09-17 15:45:44 +02:00
JanikNex c8e3098277 added comments 2023-09-11 19:53:54 +02:00
JanikNex 9654d6f5d8 allow assignment of classes to reference of supertype type 2023-09-11 19:17:15 +02:00
JanikNex de32e6f948 fixed packaging in production 2023-09-11 11:53:34 +02:00