Skip to content

Add the possibility to create a standalone LSP for a particular textx-DSL #4

@goto40

Description

@goto40

Dear danixeee,
I would like to use or extend (work on it) your language server implementation. I recently started to work in the textX project.

I see the necessity to include the full metamodel of a textX language in the LSP (not only the grammar, possibly enriched with user classes or similar). I would like this to happen, because I think aspects like scoping or validation (through object processors) play a central role.

I could image to provide supporting functions in your repository to ease the creation of a LS (e.g, through a library function call: textXls.runLS(metamodel_instance)). Moreover, I would like add support for the integration in different editors, such as vscode, by adding simple generators to create the code for the extension for the editor. With this, a standalone extension + LSP could be shipped with a textX-language, e.g., starting a textX-compiler/generator (e.g. “recipec”) with a special flag: “recipec –lsp” for the LSP implementation and “recipec –generate-vscode-extension” for the vscode integration).

I would be happy to get some feedback from you about your plans, and – if there are no reasons against it – to get some hint where to start: I was just stumbling about how to integrate your code in vscode…

Best,
Pierre

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