-
How would I get VSCode to launch new terminals with Imp instead of just the vanilla shell? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Turns out you can do this with a modification of the technique used to do this under genie . It involves a little bit of a hack, but it's not that bad. First, turn off automatically updating extensions in VS Code. (Not strictly necessary, but since you will need to patch a file every time the WSL extension updates, it's just easier.) Second, go to the In the scripts folder, there is one called wslServer.sh. Open it up, and after the #! line and copyright messages but before the rest of the script, insert the following:
Third, make sure you don't have any old instances of the VS Code server running in your WSL instance, as this change will only affect new ones. And there you go! |
Beta Was this translation helpful? Give feedback.
-
Note: at the moment, running the Windows VS Code from inside WSL with
or insert-distro-name-here in order for VS Code to realize that it should be using the remote extension and not just opening the files via |
Beta Was this translation helpful? Give feedback.
Turns out you can do this with a modification of the technique used to do this under genie . It involves a little bit of a hack, but it's not that bad.
First, turn off automatically updating extensions in VS Code. (Not strictly necessary, but since you will need to patch a file every time the WSL extension updates, it's just easier.)
Second, go to the
.vscode\extensions\ms-vscode-remote.remote-wsl-0.66.3\scripts
directory under your Windows user profile. The version number after ms-vscode-remote.remote-wsl- will vary depending on which version of the WSL extension you have installed; you want whatever the latest one is.In the scripts folder, there is one called wslServer.sh. Open it up, …