Java Annotations? Follow
Time for a nice simple question :-)
I'm working on generating some Java JPA code, and I can't figure out how to place (JPA) annotations above class or method identifiers in my templates.
Any pointers much appreciated!
Please sign in to leave a comment.
OK, figured it out, had to hit ALT+ENTER on the class, adding an annotation is an intention. :-O
Have also a look at the inspector when your cursor is over the desired concept.
-- mirko
Trying to add JPA annotations is not working for me.
Only a few standard annotations showed up after pressing ALT+ENTER.
I think some kind of a java.persistence language extension is needed.
Does MPS already support JPA annotations out of the box? If yes how to use it?