Custom persistence for MPS models through stubs

Where can I find the documentation on the subject? The doc page says "coming soon". Some example would be nice, too..
0
1 comment
Hi, Igor.
I've just updated documentation here:
http://confluence.jetbrains.net/display/MPSD25/Stubs+and+custom+persistence

You can find (not ideally working) sample in MPS samples, it's called plainText. It's a language defining a custom persistence for a directory with text files (directory is a model, each .txt file is a root). A known problem is that you can't edit a file name, so if you create a new root (its name will be "null"), you won't be able to save the model. Nevertheless, if you don't create new roots, loading/saving works normally.

You are welcome to post further questions here. I'll try to update documentation to cover them.
Regards,
Mihail
0

Please sign in to leave a comment.