-
Notifications
You must be signed in to change notification settings - Fork 222
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
'yaml.schemas' configuration doesn't work on windows with full path #347
'yaml.schemas' configuration doesn't work on windows with full path #347
Comments
The problem in https://github.com/redhat-developer/yaml-language-server/blob/master/src/languageservice/services/schemaRequestHandler.ts#L24 as path on windows has kind of scheme @JPinkney WDYT? |
Yeah that looks to be the case. I think you might be able to to do:
|
Yes, but if path will be |
That's true, I think
I think that would work better, I just don't know that much about windows |
…-hover-fix Add isKubernetes option to doHover
When I provide json scheme with
yaml.schemas
and put full path to scheme, like:This scheme doesn't pick up, and there are no completion items provided.
But when i replace path with:
It works as expected.
Related test is https://github.com/redhat-developer/vscode-yaml/blob/master/test/completion.test.ts#L19
That test pass on linux and mac, but fail on windows.
The text was updated successfully, but these errors were encountered: