Skip to main content



      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 10:42 Go to next message
Eclipse UserFriend
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 10:54 Go to previous messageGo to next message
Eclipse UserFriend
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

[Updated on: Thu, 30 May 2019 11:15] by Moderator

Re: [LS] Access to server configuration values [message #1807469 is a reply to message #1807462] Thu, 30 May 2019 12:25 Go to previous messageGo to next message
Eclipse UserFriend
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 12:33 Go to previous messageGo to next message
Eclipse UserFriend
What kind of configuration do you have in mind ?
Re: [LS] Access to server configuration values [message #1807471 is a reply to message #1807470] Thu, 30 May 2019 13:00 Go to previous messageGo to next message
Eclipse UserFriend
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 13:13 Go to previous messageGo to next message
Eclipse UserFriend
Hmmm unfortunately I don't think we have a concept for such settings yet
Re: [LS] Access to server configuration values [message #1807474 is a reply to message #1807472] Thu, 30 May 2019 14:33 Go to previous messageGo to next message
Eclipse UserFriend
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 05:58 Go to previous message
Eclipse UserFriend
please note: you may also may want to send "workspace/configuration" from the server to the client
after startup
Previous Topic:Inferring a class with generics in JvmModelInferrer
Next Topic:Deploying an local Xtext Plugin
Goto Forum:
  


Current Time: Mon Mar 24 07:07:29 EDT 2025

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

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

Back to the top