Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » [LS] Access to server configuration values(Does Xtext language servers support configuration changed events?)
[LS] Access to server configuration values [message #1807461] Thu, 30 May 2019 14:42 Go to next message
Denis Kuniß is currently offline Denis KunißFriend
Messages: 15
Registered: March 2015
Junior Member
I'm trying to dynamically process configuration changes on client side propagated to the server.

I'have checke the implementation at org.eclipse.xtext.ide.server.LanguageServerImpl.didChangeConfiguration(DidChangeConfigurationParams) and it seems to me, configuration changes are not process.

Am I right? Or, did I misunderstood something?
Re: [LS] Access to server configuration values [message #1807462 is a reply to message #1807461] Thu, 30 May 2019 14:54 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
If don't implement this service (beyond searching for new projects) then we don't implement this service
what do you try to do
Contributions welcome


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de

[Updated on: Thu, 30 May 2019 15:15]

Report message to a moderator

Re: [LS] Access to server configuration values [message #1807469 is a reply to message #1807462] Thu, 30 May 2019 16:25 Go to previous messageGo to next message
Denis Kuniß is currently offline Denis KunißFriend
Messages: 15
Registered: March 2015
Junior Member
Christian Dietrich wrote on Thu, 30 May 2019 14:54
If don't implement this service (beyond searching for new projects) then we don't implement this service


I just would like to avoid I misunderstood something, maybe.

Christian Dietrich wrote on Thu, 30 May 2019 14:54
what do you try to do


I want to react on a dynamic change to the client side configuration on server side.

... will see whether I find time to contribute here. :-)
Re: [LS] Access to server configuration values [message #1807470 is a reply to message #1807469] Thu, 30 May 2019 16:33 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
What kind of configuration do you have in mind ?

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: [LS] Access to server configuration values [message #1807471 is a reply to message #1807470] Thu, 30 May 2019 17:00 Go to previous messageGo to next message
Denis Kuniß is currently offline Denis KunißFriend
Messages: 15
Registered: March 2015
Junior Member
My client side is VSCode (I guess just saw it on twitter today :-) ) where I have a boolean configuration value the user may change at runtime of the client. To this change I would like to react on server side by processing the boolean value (specifically, turning off linking diagnostic messages).

I'm quite sure the VS code client extension is sending the configuration change over to the server.
Re: [LS] Access to server configuration values [message #1807472 is a reply to message #1807471] Thu, 30 May 2019 17:13 Go to previous messageGo to next message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
Hmmm unfortunately I don't think we have a concept for such settings yet

Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Re: [LS] Access to server configuration values [message #1807474 is a reply to message #1807472] Thu, 30 May 2019 18:33 Go to previous messageGo to next message
Denis Kuniß is currently offline Denis KunißFriend
Messages: 15
Registered: March 2015
Junior Member
Yes, that's also my impression. I just wanted to get sure for that.
I did not want to miss the opportunity just due to a misunderstanding on my side. :-)

Thanks, for having clarified this.
Re: [LS] Access to server configuration values [message #1807500 is a reply to message #1807474] Fri, 31 May 2019 09:58 Go to previous message
Christian Dietrich is currently offline Christian DietrichFriend
Messages: 14665
Registered: July 2009
Senior Member
please note: you may also may want to send "workspace/configuration" from the server to the client
after startup


Twitter : @chrdietrich
Blog : https://www.dietrich-it.de
Previous Topic:Inferring a class with generics in JvmModelInferrer
Next Topic:Deploying an local Xtext Plugin
Goto Forum:
  


Current Time: Fri Apr 19 20:31:34 GMT 2024

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

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

Back to the top