Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xtext hint feature in sysml textual editor #588

Open
coldzeraaaaa opened this issue Aug 16, 2024 · 0 comments
Open

Xtext hint feature in sysml textual editor #588

coldzeraaaaa opened this issue Aug 16, 2024 · 0 comments

Comments

@coldzeraaaaa
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant