You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Create terminal with environment variables using the new VSC api #4310
Full control over createTerminal environment#
The new setting TerminalOptions.strictEnv when set to true will not make any modifications to the terminal environment at all, instead it will be used exactly as passed in by the extension.
// This will create a terminal whose environment only contains the single value
// FOO=BAR.
const terminal = createTerminal({
name: "Test terminal",
env: {
"FOO": "BAR"
},
strictEnv: true
});
When users use the command Python: Create Terminal, we'll use the environment variables from .env files and provide them here.
Based on feedback, we might consider pushing changes upstream to VSC.
Activity
DonJayamanne commentedon Feb 7, 2019
Dan Taylor (@qubitron) /cc
DonJayamanne commentedon Feb 27, 2019
When users use the command
Python: Create Terminal, we'll use the environment variables from.envfiles and provide them here.Based on feedback, we might consider pushing changes upstream to VSC.
karrtikr commentedon Dec 14, 2022
Closing in favor of #11039.