Skip to content

Detect file paths and correctly link/reference target #559

@siegenthalerroger

Description

@siegenthalerroger

Is your enhancement related to a problem? Please describe.

I am frustrated when I am referencing a file in a yaml and I cannot verify if the path is correct by cmd+click-ing on the path to be taken to target. Further in complex k8s deployments it would be useful to be able to jump between nested folders using the defined kustomize resources.

Describe the solution you would like

If I define a string value as file:// vscode correctly references and links to the target resource. I would expect that when a Schema is known, vscode-yaml would also link a path, even without the file:// URI-prefix.

Describe alternatives you have considered

I have explored explicitely defining a file:// prefix, however this is not compatible with k8s kustomize and would add a large overhead to every file.

Additional context

image

https://github.com/kubernetes/kubectl/blob/master/docs/book/pages/reference/kustomize.md#resources

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions