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

Postman integration - IDE #5904

Open GitHubHelps opened 5 years ago

GitHubHelps commented 5 years ago

Hi people,

is it possible to integrate postman with IDE (like VSCode, Sublime)? Sometime in Postman, It is very hard to write tests (pre-request scripts/test), there is no suggestions what options I have when i write (ex. pm.expect/test/environment) Also if I make a mistake, the problem is no underline to warn me about, sometime takes a lot of time to find one letter mistype.

AjaySewradj commented 4 years ago

Any updates on this question? I would also very much like to integrate postman/newman into my development workflow. We are currently running integration tests in our CI/CD pipeline with newman+postman collections. It works really great, but the development experience when writing the tests are not so great. My main problems are:

Solutions that would work for me are:

Thanks for the great work!

pankajk07 commented 4 years ago

@GitHubHelps We did a few changes around in our code-editor to improve the editing experience like better validation, extensive suggestions including suggestions for pm.* APIs, customizing editor settings, etc. Do give it a try and let us know if it serves your purpose.

AjaySewradj commented 4 years ago

@pankajk07 The editor within Postman is slightly better, but is nowhere near the experience of a full-blown IDE. Are you guys considering a VS Code plugin?

shashankawasthi88 commented 3 years ago

@GitHubHelps @AjaySewradj we are starting explorations around this. Would like to get on to a short call to understand your use case better. If possible can you pick a time for a call (30 min) using this link - https://calendly.com/shashank-awasthi/ide-plugin-explorations

AjaySewradj commented 3 years ago

Hi @shashankawasthi88 My usecase is very simple: I would like to work with my Postman collection in the same way as I work with my code files. So that means:

der-kommissar commented 1 year ago

There is now a Postman VS Code extension: https://blog.postman.com/introducing-the-postman-vs-code-extension/ And as of last week, it has most of the features found in the desktop app: https://blog.postman.com/postman-vs-code-extension-early-access-with-new-features/

I'm only starting to play around with it, but it seems like Intellisense works.

XedinUnknown commented 2 months ago

IntelliJ user here. Seriously suffering from the lack of this functionality. I'd like not only to be able to edit scripts in the IDE, but ideally to edit them as separate files which can be then plugged into the collection requests. This promotes re-usability, but more importantly - it allows for much easier version control and contributions to collection scripts. For example, I've added a few nice modifications to allenheltondev/postman-contract-test-generator, but contributing them would be a huge pain. Making granular PRs with these changes to the collection is already a pain...