postman-app-support icon indicating copy to clipboard operation
postman-app-support copied to clipboard

Keyboard shortcut for "Beautify JSON"

Open nevumx opened this issue 2 years ago • 3 comments
trafficstars

Is there an existing request for this feature?

  • [X] I have searched the existing issues for this feature request and I know that duplicates will be closed

Is your feature request related to a problem?

The issue is that I use postman quite a bit purely as a JSON formatter/beautifier, and every time I paste a new json into the "raw" radio button of the "body" request tab, I have to use my mouse to click the "beautify" button, instead of having a keyboard shortcut for that.

Describe the solution you'd like

Optimally, I would like a full-featured keyboard shortcut editor such as those seen in Visual Studio and the like, but I would settle for a more basic editor, or even just a documented hard-coded keyboard shortcut for the aforementioned "beautify" button.

Describe alternatives you've considered

No response

Additional context

No response

nevumx avatar Dec 04 '22 19:12 nevumx

Hey @nevumx

Doesn't CMD+B not do this for you in the request body?

DannyDainton avatar Dec 07 '22 12:12 DannyDainton

@DannyDainton No, it is not doing anything on response, My response is in json pretty format but I want it to be in beautify format as we can do with request

salehsami avatar Feb 22 '24 06:02 salehsami

@salehsami - the beautify shortcut works for the request body.

in postman, if you're response body is unformatted: 1, copy+paste into another editor (e.g VS code) 2. run your beautify function/shortcut there

alaz-aura avatar Apr 22 '24 00:04 alaz-aura