AnWeber / httpbook

Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code
https://httpyac.github.io/
MIT License
61 stars 4 forks source link

How to set or change environments? #30

Closed ramsundark5 closed 2 years ago

ramsundark5 commented 3 years ago

In vscode-httpyac, there is an option to choose an environment before execution. Don't see that option when using httpbook.

AnWeber commented 3 years ago

It is in the status bar below a cell. In this gif environment dev is selected: https://raw.githubusercontent.com/AnWeber/httpbook/main/images/httpbin.gif

ramsundark5 commented 3 years ago

Got it. thanks for the quick response!

rngtng commented 2 years ago

Had same problem. Confusing part was that the area is just empty and didn't hint one could change the env there. maybe add env: - as it's done in the vs-plugin.

AnWeber commented 2 years ago

An error has crept in. Initially the environments were either undefined or at least filled with one value. Due to changes in httpyac there is now also the state with a empty array. I have overlooked this place while refactoring. It is fixed with the next release

AnWeber commented 2 years ago

StatusbarItem is fixed with new v2.2.1

rngtng commented 2 years ago

thx