Allow to configure environment variables for extension host
See original GitHub issueI’ve got a really simple problem: often I open VS Code from a terminal, because I need to run export PATH=...
in order to be able to use some extension inside of VS Code that uses a binary to work, e.g., this Lilypond extension, which works really well (thank you @lhl2617!), uses the lilypond
external binary.
Perhaps a workspace could have environment variables in addition to project folders? 🤔
Issue Analytics
- State:
- Created 2 years ago
- Reactions:38
- Comments:6
Top Results From Across the Web
Container environment variables - Visual Studio Code
You can set environment variables in your container without altering the container image by using one of the options below. You should verify...
Read more >Visual Studio Code extension configuration - Snyk User Docs
On Windows , you can set the variables using the GUI or on the command line using the setx tool. · On macOS...
Read more >Configuration Options | Directus Docs
In case you prefer using a configuration file instead of environment variables, you can also use the CONFIG_PATH environment variable to ...
Read more >Use multiple environments in ASP.NET Core | Microsoft Learn
Environments · Set the environment by setting an environment variable · Set the environment in code · Configuration by environment · Configure ......
Read more >Set global environment variables in VS Code with remote-ssh
If you want to run additional commands or modify the environment this can be done in a setup script ~/.vscode-server/server-env-setup.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Yes, I agree that the idea is useful even if you specific example can be solved in another way. There are plenty of other cases where being able to set specific environment variables for a workspace would be useful.