4 ms·
This is great! I use the JSONVue Chrome extension at work to display JSON files, and I can see the similarities. If I could suggest one thing: ctrl-u and ctrl-
by thamer 5y ago
This is great! I use the JSONVue Chrome extension at work to display JSON files, and I can see the similarities.
If I could suggest one thing: ctrl-u and ctrl-d are pretty common shortcuts for page up and page down, they're even supported in Vim and less. It would make sense to add support for those in addition to the actual PageUp/PageDown keys.
- CodeIsTheEnd 5y agoYup, someone already made a PR for to add these! It turns out the behavior is pretty subtle in terms of how it handles count arguments (it's actually stateful!), and where the focus moves. I'll take some time to figure out how to exactly match the vim/less behavior, but that should be coming soon! I'm more of a ctrl-e/ctrl-y guy myself, so I didn't feel a need to implement these commands right away.
- paolosimone 5y agoMaybe hijacking the thread, but if you prefer to stay in the browser give also a try to Virtual Json Viewer extension [1][2]. I developed it to navigate large json files at work and it also integrates JQ. unrelated: this is my very first comment on HN, hurray! [1] Chrome Web Store: https://chrome.google.com/webstore/detail/virtual-json-viewer/cipnpfcceoapeahdgomheoecidglopld https://chrome.google.com/webstore/detail/virtual-json-viewe... [2] Github: https://github.com/paolosimone/virtual-json-viewer https://github.com/paolosimone/virtual-json-viewer
- thamer 5y agoI only saw your comment after a day and just tried your extension, it works great! I really like how much faster it is than JSONVue, and the JQ integration looks super useful; this is a really good start. Oh and welcome to HN :)