postman-app-support
postman-app-support copied to clipboard
JSON Results Collapse ALL
I'd love it if there was a shortcut to collapse all the nodes in the body response (for JSON results)
Cheers!
you should be able to click these:
Thanks, but I am looking for a shortcut to collapse ALL in one click.
+1 it's killing me!
I would love to see this feature as well.
+1!
I'm really dissapointed. Without this feature it is almost useless for me. I will use something else than :(
+1 this makes a big difference when you get a huge response and want to traverse by node. without collapse all, for larger responses I have to copy/paste the response into another viewer.
:+1:
+1
+1
+1
+1
+1
+1
+1
+1
@andreykats @voxon2 @gotwilk890 @sebrandon1 @bilalvirgo10 @dtw45 @aguetat @ankitj @ms88privat
You can use Alt-0 (Win) / Command-Option-0 (Mac)
for 'fold all', and Alt-Shift-0 (Win) / Command-Option-Shift-0 (Mac)
for 'Unfold all'.
The focus will have to be on the response JSON/XML, though.
@abhijitkane Amazing! Let's put this in the documentation.
Yep. All AceEditor shortcuts (https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts) should work.
@abhijitkane you're a hero
@abhijitkane
(https://github.com/postmanlabs/postman-app-support/issues/1257#issuecomment-227872031):
You can use Alt-0 (Win).....
Is there an option to have a JSON response first level fields collapsed by default? In order to make less keyboard clicks to collapse them
That's cool, but I never remember the shortcut. Why isn't there an easy to see button, or an option in a contextual menu for doing it? :)
Note that to unfold a portion of JSON with Alt-Shift-L
(See abhijitkane's comment for link), the cursor must be on the folded marker, not simply on the line.
+1 Collapse all / expand all xml json
+1 Collapse/expand all toggles.
Would be great to have a larger inline expand/collapse toggle, too, similar to how Firefox handles JSON.
I guess an option to collapse a json response in general would be quite useful for some people.
And if we want to get real crazy, an option to fold per level would be fantastic. Something like CMD+OPT 1 folds to level 1, CMD+OPT+2 folds level 2 etc.
@aaroncrawford : You mean Ctrl-Alt-1, Ctrl-Alt-2 :) Yes, I agree that would be absolutely terrific. Most of the time we are interested in the actual response, and a good way to navigate the response would be very helpful.
This has already been added. We need to have this documented and perhaps even highlighted as contextual in-product documentation. 🤦♂ Will close the ticket when the doc goes live.
Ah finally a good answer @shamasis I was hoping to see that!