Huachao / vscode-restclient

REST Client Extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=humao.rest-client
MIT License
5.24k stars 436 forks source link

Desire support for local variables #1230

Open slin-gd opened 9 months ago

slin-gd commented 9 months ago

We found this also works in markdown file, with the language of "http". In this case, we can make some related request in collection in single Markdown file. But it does not support local variable either in .http file, .rest file, nor .md file.

We expect, the accountId in case 1 would not be overwritten by the one in case 2 in below markdown file:

case 1

 ```rest
  @accountId = user01

 GET http://abc.com/?user={{accountId}}

### case 2
```rest

  @accountId = user02_which_would_overwritten_case_1_unexpected

GET https://github.com