Skip to content

Xtext hint feature in sysml textual editor #588

@coldzeraaaaa

Description

@coldzeraaaaa

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions