Where can I find the hotkeys/shortcuts for the Postman code editor?

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question:
Where can I find the hotkeys/shortcuts for the Postman code editor?

Details (like screenshots):
I’m hoping to find out to how to select the next occurrence of the current highlighted word, but am failing to find these text manipulation hotkeys listed anywhere, all I can find are Postman navigation/request manipulation shortcuts e.g. go to the next request, duplicate a request, etc.

I’ve found these shortcuts in the Postman code editor i.e. Pre-request Script and Tests tab -
CMD + D = deletes current line
CMD + SHIFT + L = selects all occurrences of the word under the cursor
CMD + / = comment/uncomment the current line

How I found the problem:
Trying to improve productivity

I’ve already tried:
Google search - as mentioned above, found all other postman shortcuts, but none for the editor
Cheatsheet apps - lists all shortcuts of the current app, but didn’t learn anything new, only lists the shortcuts in the menus

1 Like

Also looking for the answer to this question

Strange that this feature is not documented by the Postman team. I had the same problem some time ago, but I didn’t find an answer. But your question made me curious, and I found that most of these VS Code shortcuts work in the Postman sandbox. I think that is the answer to our question.

Hi @theplaypig and @jooleeanh.

Welcome to the Postman Community.

All relevant VS code shortcuts will work in the Postman script editor.

For example, the shortcut for finding the next occurrence for an highlighted item on Mac is CMD + G both in VS code and the Postman editor.