Vscode-restclient: Feature Request: Store environments in a file instead of settings

Created on 20 Oct 2017  路  5Comments  路  Source: Huachao/vscode-restclient

VSCode: 1.17.2
Rest: 0.15.3

We love using Rest Client in our team and we have our .http files checked in to our project. It would be great to have the environment variables stored in a file instead of the settings of vscode so our environments can be shared easily among team members

enhancement

Most helpful comment

Hi, I think that something similar can be achieved even by settings. I didn't like the way I have to store environment in VS code settings and I have found a better way which is sufficient for me (maybe not for you).

  1. I create folder in my project where I want to store "rest client" files.
  2. I then open that folder and then I choose "save workspace as ..."
  3. I save workspace file (extension code-workspace) in the same folder so all files are in that folder.
  4. Then I can open that workspace and by "CTRL + ," I can configure enfironment in "WORKSPACE SETTINGS" which is stored in the workspace file (code-workspace). I can immediatelly use that enviromnments and this way I can share them by team in SVN, GIT ...

Maybe it will help you for now.

All 5 comments

@chanan nice suggestion, I will consider it carefully.

This will be a great addition. Furthermore, following tradition, if it can detect env.json in the current folder, if not package root, if not package.json and if not VSCode settings, it'd be super awesome!

Hi, I think that something similar can be achieved even by settings. I didn't like the way I have to store environment in VS code settings and I have found a better way which is sufficient for me (maybe not for you).

  1. I create folder in my project where I want to store "rest client" files.
  2. I then open that folder and then I choose "save workspace as ..."
  3. I save workspace file (extension code-workspace) in the same folder so all files are in that folder.
  4. Then I can open that workspace and by "CTRL + ," I can configure enfironment in "WORKSPACE SETTINGS" which is stored in the workspace file (code-workspace). I can immediatelly use that enviromnments and this way I can share them by team in SVN, GIT ...

Maybe it will help you for now.

@hudecekd Its a good option for those who use workspaces and teams who can share workspaces like that.

Hello sorry for pinging you directly @Huachao but is there any status update on this? Would love to help work on this if needed!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ben-foster-cko picture ben-foster-cko  路  19Comments

abenedykt picture abenedykt  路  18Comments

lldata picture lldata  路  13Comments

agjs picture agjs  路  31Comments

OzgurDogan picture OzgurDogan  路  13Comments