Remote terminals don't resolve variables when restored on startup
See original GitHub issueIssue Type: Bug
I changed my Terminal->Integrated: Cwd setting to “$(workspaceFolder)”. Now, when Code starts up, the Terminal does not open, and I get a notification: “The terminal shell CWD “/home/gpudb/gpudb-dev-7.0/gpudb-core/gaiadb-cluster/${workspaceFolder}” does not exist”. This happens every time I launch Code.
However, once Code has loaded, I can then do Ctrl-` to open a Terminal window, and it works as expected (also every time). Note that this is doing Remote development (so the Terminal is opening a session on my remote machine).
I suspect the issue is that Code is trying to start the Terminal before $workspaceFolder is set, but it is set later, when I manually open the Terminal. It is a fairly easy work-around, but am reporting it in case this is not the expected behavior.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z) OS version: Windows_NT x64 10.0.18362 Remote OS version: Linux x64 4.15.0-62-generic
System Info
Item | Value |
---|---|
CPUs | Intel® Core™ i7-6700HQ CPU @ 2.60GHz (8 x 2592) |
GPU Status | 2d_canvas: enabled flash_3d: enabled flash_stage3d: enabled flash_stage3d_baseline: enabled gpu_compositing: enabled multiple_raster_threads: enabled_on native_gpu_memory_buffers: disabled_software oop_rasterization: disabled_off protected_video_decode: unavailable_off rasterization: enabled skia_deferred_display_list: disabled_off skia_renderer: disabled_off surface_synchronization: enabled_on video_decode: enabled viz_display_compositor: disabled_off webgl: enabled webgl2: enabled |
Load (avg) | undefined |
Memory (System) | 15.76GB (7.51GB free) |
Process Argv | |
Screen Reader | no |
VM | 0% |
Item | Value |
---|---|
Remote | SSH: andy-linux |
OS | Linux x64 4.15.0-62-generic |
CPUs | Intel® Core™ i7-7700HQ CPU @ 2.80GHz (8 x 900) |
Memory (System) | 62.86GB (6.62GB free) |
VM | 0% |
Extensions (20)
Extension | Author (truncated) | Version |
---|---|---|
vscode-cudacpp | kri | 0.1.1 |
remote-containers | ms- | 0.74.0 |
remote-ssh | ms- | 0.46.1 |
remote-ssh-edit | ms- | 0.46.1 |
remote-ssh-explorer | ms- | 0.46.1 |
remote-wsl | ms- | 0.39.5 |
vscode-remote-extensionpack | ms- | 0.17.0 |
vs-keybindings | ms- | 0.2.0 |
code-gnu-global | aus | 0.2.2 |
githistory | don | 0.4.6 |
mssql | ms- | 1.6.0 |
cpptools | ms- | 0.25.1 |
java | red | 0.49.0 |
vscodeintellicode | Vis | 1.1.9 |
vscode-java-debug | vsc | 0.21.0 |
vscode-java-dependency | vsc | 0.5.1 |
vscode-java-pack | vsc | 0.8.0 |
vscode-java-test | vsc | 0.19.0 |
vscode-maven | vsc | 0.19.0 |
gitblame | wad | 3.0.1 |
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (10 by maintainers)
Top GitHub Comments
@Tyriar Thank you!! I would like to take this one
@Tyriar I would like to take this. Could you please guide me?