I am trying to import external java code in a .jar file into MPS. I followed these (https://mps-support.jetbrains.com/hc/en-us/community/posts/206614165-How-can-I-import-external-JARs-into-my-generator-project) instructions as best as possible: I could not find a “Models” button so I used the “Sources” button instead and when adding the .jar to the Library I get the following dialogue.
I tried them all and it does not seem to make a difference.
Everything seems to work fine up until when I want to use it in another solution/language: I can find my classes in the search dialogue (ctrl + r) but when I try to add it (enter/double click) the code keeps the same. Something is happening though since the reference is added.
Here some more information about my settings:
Any Ideas what I am doing wrong?