-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade server to 0.20 #20
Comments
Need to find a new way to pass custom k8s schema configuration to the server now. It can't go in nova config as it is an object which nova doesn't support. It also isn't offering completion anymore and there is a new unhandled promise rejection warning. |
After more investigation is seems the way Server pulls { section: 'yaml' },
{ section: 'http.proxy' },
{ section: 'http.proxyStrictSSL' },
{ section: '[yaml]' }, I can't find anywhere in the LSP spec about dot-notation and nesting keys inside configuration, so I am assuming it is something specific that VSCode does. From Nova it returns: { ... },
{},
{},
{ ... } So I assume nova isn't expecting there to be more than one level of indentation via dots. If I set this configuration via "http.proxy": null,
"http.proxyStrictSSL": null That same { ... },
{ 'http.proxy': null },
{ 'http.proxyStrictSSL': null },
{ ... } ...which doesn't work either. The server is passing these values to Looking at the debug logs of VSCode, it is returning this: [
"{ ... }",
"",
true,
"{ ... }"
] |
Related to dot-notation in {
"format": {
"enable": false
}
} Whereas Nova is keeping the dots in the values: {
"format.enabled": true
} The Server is expecting expanded JSON and doesn't do anything to expand the dot-notation either, as I have seen |
I've put in a feature request for better contorl of LSP configuration https://devforum.nova.app/t/workspaceconfiguration-middleware/989 |
The LanguageServer processes
|
I've put in a custom schema bug report https://devforum.nova.app/t/languageclient-onrequest-isnt-being-called/1064 |
Fixed in ee762c9 |
This version pulls config which should be better than us having to force it.
Todos
The text was updated successfully, but these errors were encountered: