Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » LSP Support: Binding for custom ResourceSet is not considered during runtime
LSP Support: Binding for custom ResourceSet is not considered during runtime [message #1860216] Mon, 24 July 2023 10:05 Go to next message
Sebastian Waldhauser is currently offline Sebastian WaldhauserFriend
Messages: 17
Registered: March 2022
Junior Member
Hi,

the binding for a custom ResourceSet is not considered during runtime for LSP support.

We generate the Greetings LSP Project and add bindings for ResourceSet, XtextResourceSet, and XtextResource in the RuntimeModule: MyDslXtextResourceSet and MyDslXtextResource.

However, during runtime an XtextResourceSet is constructed (NOK). For the resources a MyDslXtextResource is constructed (OK).

How can I achieve the construction of a MyDslXtextResourceSet?

Best regards,
Sebastian

[Updated on: Mon, 24 July 2023 10:07]

Report message to a moderator

Re: LSP Support: Binding for custom ResourceSet is not considered during runtime [message #1860218 is a reply to message #1860216] Mon, 24 July 2023 10:09 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14683
Registered: July 2009
Senior Member
would expect you have to bind in server module that is shared and not language specific ones

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: LSP Support: Binding for custom ResourceSet is not considered during runtime [message #1860219 is a reply to message #1860218] Mon, 24 July 2023 10:59 Go to previous message
Sebastian Waldhauser is currently offline Sebastian WaldhauserFriend
Messages: 17
Registered: March 2022
Junior Member
Works now, thank you!
Previous Topic:How to disable the language servers automatic building/code generation?
Next Topic:Restricting scope to files that are currently open
Goto Forum:
  


Current Time: Tue May 28 23:11:41 GMT 2024

Powered by FUDForum. Page generated in 0.03377 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top