You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on enabling XText’s text hint feature for SysML’s text editor and have encountered some challenges.
In the GenerateKerMLExpressions.mwe2 file, my initial attempt involved commenting out the line “fragment = ui.contentAssist.ContentAssistFragment2 {}” and uncommenting “fragment = NoContentAssistAntlrGeneratorFragment {}“. However, this resulted in the parser not being generated.
Subsequently, I attempted to address the issue by uncommenting “fragment = ui.contentAssist.ContentAssistFragment2 {}” and adding “fragment = parser.antlr.XtextAntlrGeneratorFragment2 {}“. Unfortunately, this led to an error in InternalSysMLParser.java stating that “The code for the static initializer is exceeding the 65535 bytes limit.”
I am seeking guidance on how to resolve this issue. Alternatively, I would appreciate any suggestions on alternative methods to incorporate the hint feature into the SysML textual editor.
Thank you in advance for your assistance.
Best regards,
Levent
The text was updated successfully, but these errors were encountered:
Dear SysML Team,
I am currently working on enabling XText’s text hint feature for SysML’s text editor and have encountered some challenges.
In the GenerateKerMLExpressions.mwe2 file, my initial attempt involved commenting out the line “fragment = ui.contentAssist.ContentAssistFragment2 {}” and uncommenting “fragment = NoContentAssistAntlrGeneratorFragment {}“. However, this resulted in the parser not being generated.
Subsequently, I attempted to address the issue by uncommenting “fragment = ui.contentAssist.ContentAssistFragment2 {}” and adding “fragment = parser.antlr.XtextAntlrGeneratorFragment2 {}“. Unfortunately, this led to an error in InternalSysMLParser.java stating that “The code for the static initializer is exceeding the 65535 bytes limit.”
I am seeking guidance on how to resolve this issue. Alternatively, I would appreciate any suggestions on alternative methods to incorporate the hint feature into the SysML textual editor.
Thank you in advance for your assistance.
Best regards,
Levent
The text was updated successfully, but these errors were encountered: