Description
Currently install is a little cumbersome, for example:
Add the following to your PowerShell profile, replacing
<InstallDir>
with VS Code's installation directory. Runcode $Profile
in pwsh to open the file in VS Code.if ($env:TERM_PROGRAM -eq "vscode") { . "<InstallDir>\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1" }
It would be much nicer if this was encapsulated within the CLI, something like:
code shell-integration
We should also make sure these cases are covered:
- Remote development extensions - injection works currently but manual install doesn't talk about the server paths
- Regular SSH - it's not so easy to get the shell integration script to the remote machine