httpyac / httpyac.github.io

Documentation and Examples for httpyac
https://httpyac.github.io
MIT License
105 stars 10 forks source link

Add `__dirname` to pre-defined variables #48

Closed rngtng closed 2 years ago

rngtng commented 2 years ago

See response https://github.com/AnWeber/vscode-httpyac/issues/129

AnWeber commented 2 years ago

The addition to the doc is great. I have explicitly added a link to the NodeJS Global Object. Thought was that the script behaves exactly like a normal NodeJS module. Only the currently defined variables and a redirection for all console are redirected to VSCode output in the Global Object are added. Thanks.

rngtng commented 2 years ago

@AnWeber thx the clarification. yes mentioning it explicit helps JS newbies like me a lot

AnWeber commented 2 years ago

@rngtng that's why I find documentation so hard. Unfortunately, you still have your own point of view on. Therefore just ask if something is unclear