sharing config between client and server#432
Conversation
cristianoc
left a comment
There was a problem hiding this comment.
How about adding the config to the example-project as an example.
Also, should the README be updated.
|
Updated the readme. Can't set up the configuration in the example project though, because VSCode doesn't save settings in the repo by default. |
|
Thanks! Merging. |
|
Nit: does not look like changing the setting and restarting the server picks them up. |
|
You mean when restarting via the restart command recently added? |
yes |
|
Or I guess the more general question is: why polling. If one needs to restart anyway. |
|
Hmm, I don't need to restart anything, polling works fine for me as I tested. How are you testing it? |
|
What I've tried is: change the setting, then ask the server to restart. |
|
Don't know what else to test without restarting the entire editor. |
|
Ahh, I think I know the issue. I'll fix it. |
|
Done here: #438 |
Fixes #23
This introduces configuration in the extension, periodically synced to the language server for use. We'll probably need to revisit this if we get more intricate configuration needs later on, but for now this is simple enough and will do for the cases we currently have.