Search code examples
javadocxtext

XText: How can I add Javadoc-like descriptions to my XText language?


I want to have normal multi-line comments with /* ... */ which can be ignored, and add a /**...*/ Javadoc field before the definition of my entities. This field should be saved together with the object as a description. Is there an elegant way to integrate this with XText and EMF?


Solution

  • MultiLineCommentDocumentationProvideralready provides such a facility