-
Notifications
You must be signed in to change notification settings - Fork 34.9k
Closed
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityterminal-shell-integrationShell integration infrastructure, command decorations, etc.Shell integration infrastructure, command decorations, etc.verification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded
Milestone
Description
export interface EnvironmentVariableCollection {
/**
* A string that will be prepended to the existing prompt in the terminal. Keep it short and only use it if
* it's really needed, as it modifies all terminals, even those not related to the extension.
*
* Note this only applies if shell integration is enabled.
*/
promptPrefix: string;
}
The idea is to use shell integration to apply this parameter. This can be used by Python extension to indicate an environment is activated in Powershell or fish where there is no other way to set the prompt.
Metadata
Metadata
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalityterminal-shell-integrationShell integration infrastructure, command decorations, etc.Shell integration infrastructure, command decorations, etc.verification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeeded