4. Not sure what you're descibing.
With "MDG remnant is stuck" I refer to the list of available MDG technologies ( Settings > MDG Technologies > [list of check boxes to activate/deactivate]). In that list I managed to get my first version of MDG technology to show up containing the AST etc, and I could tick the check box to activate it. And it actually worked fairly well but the first version contained only a subset of the AST rules, so I made changes to the MDG and tried to update. But then my problems started. The new version of the MDG was ADDED instead of REPLACED, so now I had two MDG Technologies although different versions.
The first version then simply wouldn't go away.
Well, I didn't have the time to wrestle that stubborn first version MDG so I went about making more changes and updated the MDG again and this time the second MDG Technology (version 2) updated neatly to version 3. And so on, aso. But the first version I simply don't get rid of.
I tried unticking the checkbox in the list of MDGs, and I also tried to remove the path to it via the "Advanced" button under the list, but no luck. It's "stuck". No clue as to how to get rid of it. There's no "delete" button to press.
But perhaps there's some XML config file somewhere where I can manually remove any reference to this stubborn MDG remnant? (it's "dead" but it confuses EA when ticking the activation checkbox, but nothing more serious than that. Except for irritating me.
5. (...legs in the Parse tree) From your question it sounds like you have something similar to the Java idea...
Unfortunately I'm not fluent with Java so I can't tell, but what I want to achieve is that from for example the code snippet above (containing two classes, or "structs" in this Golang case) I want the source code import to result in that all the classes defined in the file would go into one individual model Package in EA, with the same Package name as the file's package name located at the top of the file (like if the unit name in Delphi would result in the same model Package name in EA. In Delphi you can also have multiple classes, both their declarations and implementations, in one file). In this case I'm wrestling Golang which can have package names spanning over several different files (same package name inside different filenames.go ).
6. You can mark the class name with the QUALIFIER attribute. Unfortunately I don't remember if it needs to be declared in the class itself for EA to look for the matching method.
Oki, I'll play around with that. I'll probably find my way with this info.
Thank you again Simon, this is fun!
// Rolf