Vscode-yaml: Relative paths for schemas not working anymore

Created on 12 Jun 2018  路  10Comments  路  Source: redhat-developer/vscode-yaml

Hi,

I have a JSON schema file in my project that I want to apply to several YAML files.

This is my .vscode/settings.json:

{
  "yaml.format.enable": true,
  "yaml.schemas": {
    "./my.schema.json": "*.repo.yml"
  }
}

where ./my.schema.json is the relative path to my JSON schema file.

This configuration was working as intended until yesterday. Now it only works if I specify an absolute path for the JSON schema file.

Any ideas?

Thanks 馃槃

bug

Most helpful comment

I'm unsure what would have broke but I'll look into it.

All 10 comments

I'm unsure what would have broke but I'll look into it.

+1

maybe it was not a change on the extensions, which broke it, but an update from vscode?

Hi @JPinkney , any updates? 馃槃

Should be in the next release on July 9th.

This issue is still present using the latest VSCode version.

That's because it hasn't been released yet. There has been issues with the release process that we are still trying to figure out.

any updates?

Just released. It should be fixed. Apparently the language client dependency switched from relative paths to absolute paths so I just had to lower that and it should be back to normal.

I can confirm that it's working now, thanks 馃槃

Was this page helpful?
0 / 5 - 0 ratings

Related issues

remcohaszing picture remcohaszing  路  4Comments

riker09 picture riker09  路  5Comments

miqm picture miqm  路  4Comments

joshuaavalon picture joshuaavalon  路  4Comments

nicholas-devlin picture nicholas-devlin  路  4Comments