AnWeber / vscode-httpyac

Quickly and easily send REST, Soap, GraphQL, GRPC, MQTT and WebSocket requests directly within Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=anweber.vscode-httpyac
MIT License
222 stars 20 forks source link

httpRegion.httpFile.activeEnvironment does not exist #233

Closed z0y1 closed 8 months ago

z0y1 commented 9 months ago

with the latest version of httpyac, console.info(httpRegion.httpFile.activeEnvironment); always return null. even if env is setup.

AnWeber commented 8 months ago

Hi yes sorry. this no longer exists. Since this recently would not contain the correct value in all cases and I wanted to avoid using it by mistake. Please use console.info($context.activeEnvironment) instead.