postmanlabs / postman-app-support

Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
https://www.postman.com
5.84k stars 839 forks source link

Variable Support in Raw Body Editor #3517

Closed kbuzby closed 4 years ago

kbuzby commented 7 years ago

App Details:

Postman for Chrome
Version 5.2.0
win / x86-64
Chrome 60.0.3112.113

Issue Report:

  1. Did you encounter this recently, or has this bug always been there: seems like it's been there
  2. Expected behaviour: normal variable support in the raw body editor

In a POST request:

When using the raw editor you can use environment and global variables, but you don't get the same assistance as you do elsewhere, where you get autocomplete or even the visibility if the variable is defined globally / in the selected environment.

numaanashraf commented 7 years ago

Thanks for the suggestion @kbuzby. We are constantly working on improving the ease of using variables and your feedback helps a lot.

gekonwi commented 5 years ago

It would already make a big difference for us if you could just show the regular variable mouse-over / tooltip window (with the initial / current value + scope) for variables in the Raw Body Editor - the same window you show when hovering the mouse over variables in other text fields.

gekonwi commented 5 years ago

@vkaegis - any updates on this?

vkaegis commented 5 years ago

@gekonwi No ETA on this just yet. Our editor itself requires some tweaking to enable this, so waiting on some prerequisite tasks.

Millais commented 5 years ago

Hey @vkaegis is there any progress on this one?

I know our team at PayPal would make big usage of variable autocompletion in the raw request body.

Thanks!

Millais commented 4 years ago

Syntax highlighting and variable autocompletion makes for a truly awesome update – thank you @arlemi!

arlemi commented 4 years ago

@Millais Glad you like it! Switching our editors to Monaco allows us to do much more with it, and you can expect some more improvements around this in future releases. 🙂

JaixTim commented 3 years ago

@arlemi You closed this issue but there is still no tooltip support for showing values of variables in the body as per other fields in the app. Is there a separate issue for that or do I need to raise one?