vscode-yaml icon indicating copy to clipboard operation
vscode-yaml copied to clipboard

Feature wanted: side preview page which expand yaml anchor, ref, and extend

Open weaming opened this issue 5 years ago • 5 comments

&
*
<<

weaming avatar Nov 21 '19 03:11 weaming

@JPinkney I do not think there is enough information on this issue. Can you add details ?

gorkem avatar Dec 18 '20 00:12 gorkem

I think we should just close this and @weaming can reopen if they can expand on it.

joshuawilson avatar Dec 18 '20 01:12 joshuawilson

I mean

---
foo: &anchor
 K1: "One"
 K2: "Two"
bar: *anchor

expand to :

{
    "foo": {
        "K1": "One",
        "K2": "Two"
    },
    "bar": {
        "K1": "One",
        "K2": "Two"
    }
}

in YAML or JSON format.

weaming avatar Dec 18 '20 16:12 weaming

I'd love if it worked like the Markdown: Open Preview to the Side where it would just merge all the anchors and aliases into a final yaml.

VDFaller avatar Jul 28 '22 20:07 VDFaller

Any update on this?

devlounge avatar Apr 26 '23 15:04 devlounge