PaulJuliusMartinez / jless

jless is a command-line JSON viewer designed for reading, exploring, and searching through JSON data.
https://jless.io
MIT License
4.61k stars 87 forks source link

Follow Json Schema References & Jumping Back and Forth #131

Open mkohlhaas opened 10 months ago

mkohlhaas commented 10 months ago

It would be cool to follow local references in Json Schema files easily.

For example:

{
  "$ref": "#/definitions/3/cmd"
}

#/definitions/3/cmd is defined in the same document. Jumping to that path with keyboard shortcut gd (for goto definition) would be awesome.

Maybe jumping back and forth with Ctrl-O and Ctrl-I would be perfect.

bew commented 10 months ago

@mkohlhaas why did you close it? I think it's a nice idea