SublimePrettyJson icon indicating copy to clipboard operation
SublimePrettyJson copied to clipboard

Keep JQ filter between different uses

Open kheyse-autodesk opened this issue 9 years ago • 3 comments

I often find myself applying similar jq filters to a file many times in a row (e.g. while tweaking a jq command). It would be useful if the 'JSON query with ./jq' command would work more like Sublime's search and show the previous filter when you start a new one. Currently, the filter is always reset to '.' and you have to enter your filter from scratch.

kheyse-autodesk avatar Sep 29 '16 08:09 kheyse-autodesk

+1

It would be great if the jq text field had a history of previously used filters, just like Sublime Text does with Search. The Up and Down keys would be used to navigate the history.

sceurty avatar Apr 14 '17 21:04 sceurty

@kheyse-autodesk @sceurty working on this in #111 However, it should be compatible with ST3 as well, so I will ensure I push this feature to both branches and releasing.

TerminalFi avatar Apr 17 '20 15:04 TerminalFi

+1 for such a feature!

This will be great to have such feature in ST3.

troyane avatar Aug 25 '20 15:08 troyane