forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
area-terminalfeature-requestRequest for new features or functionalityRequest for new features or functionalitymetaIssue that is tracking an overall projectIssue that is tracking an overall projectneeds spikeLabel for issues that need investigation before they can be worked on.Label for issues that need investigation before they can be worked on.
Description
This is to track outstanding VS Code bugs so terminal activation feature can stabilize:
-
.zshrc
is overriding the environment variable set by shell integration on macOS vscode#205102 - Prepending using shell integration does not work for zsh, even when shell integration is activated vscode#205133
- Expose API whether shell integration is working or not vscode#205058
-
onDidExecuteTerminalCommand
does not fire events for hidden terminal vscode#199611 - Environment collection should not be applied on hidden terminals (non-windows) vscode#197187
- Provide a way to exempt a terminal from applying any env collections vscode#194819
- This is not needed if #197187 is solved
- Resolve Provide a way to exempt a terminal from applying any env collections vscode#194819 (comment)
- Resolve Environment collection should not be applied on hidden terminals (non-windows) vscode#197187 (comment)
- Provide a way to exempt a terminal from applying any env collections vscode#194819
-
onDidWriteTerminalData
event does not contain shell integration sequences for hidden terminals vscode#204616 - Prepending using shell integration does not work for fish when using starship prompt vscode#208465
- Ensure we use correct workspace folder for remote terminals vscode#180486
- Multiroot workspaces for remote scenarios does not work currently because of this
- Expose shell integration command knowledge to extensions vscode#145234
- Explore terminal buffer API vscode#207504
- We would need this to get command output, if microsoft/vscode#145234 doesn't cover it.
- Shell integration isn't enabled for Debug terminals vscode#204694
- Shell integration isn't enabled for Task terminals vscode#205177
- Environment collection replace API strips equals sign at the end vscode#197603
Our follow up action items based on that:
- Adopt to using VS Code API to access terminal output #22128
- If automatic shell integration is failing to activate environment, recommend users to do manual installation #23113
- Enable experiment for multiroot remote scenarios:
vscode-python/src/client/common/experiments/helpers.ts
Lines 12 to 17 in 0438813
export function inTerminalEnvVarExperiment(experimentService: IExperimentService): boolean { if (!isTestExecution() && env.remoteName && workspace.workspaceFolders && workspace.workspaceFolders.length > 1) { // TODO: Remove this if statement once https://github.com/microsoft/vscode/issues/180486 is fixed. traceInfo('Not enabling terminal env var experiment in multiroot remote workspaces'); return false; }
Issue to keep in mind:
PREPEND: #21906
KayvanShah1, DavideStenner, MicaelJarniac, isnbh0, nikau6 and 2 more
Metadata
Metadata
Assignees
Labels
area-terminalfeature-requestRequest for new features or functionalityRequest for new features or functionalitymetaIssue that is tracking an overall projectIssue that is tracking an overall projectneeds spikeLabel for issues that need investigation before they can be worked on.Label for issues that need investigation before they can be worked on.