Allow absolute paths to be specified in yaml.schemas
See original GitHub issueProject relative paths requirement for specifying yaml.schemas
is probably a suitable way to deal with VSCode, but definitely not for others.
We suggest to allow using an absolute path for a schema, so, when resolving a schema content, if no project is found or path doesn’t resolve against project, it should be attempted to be resolved as absolute path. This would allow plain yaml edition to work without a project, which is actually not so unusual.
Related issue: https://github.com/eclipse/wildwebdeveloper/issues/461
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How to configure YAML schema to make editing files easier
To help with editing, it is possible to provide a YAML schema that can be leveraged by a large set of integrated development...
Read more >How to set absolute path to $schema in deeply nested jsons
I'd like to add $schema property to each json to let IDEs provide some coding assistance / validation. Because the jsons are nested...
Read more >YAML schema reference for Azure Pipelines - Microsoft Learn
The YAML schema reference for Azure Pipelines is a detailed reference for YAML pipelines that lists all supported YAML syntax and their ...
Read more >Paths and Operations - Swagger
API paths and operations are defined in the global paths section of the API specification. ... The full request URL is constructed as...
Read more >YAML | PhpStorm Documentation - JetBrains
Let's explore some YAML-specific features available in the editor. ... to copy a full path to a specific option specified in the YAML...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@JPinkney Upgrade to YAML LS 0.9.0 is ongoing. I’ll try reproducing it using version 0.9.0 this week.
This bug should be closed because I am using absolute paths for months and they do work quite well. The trick is to use
file://
URI which allow only full paths (3 slashes).