Skip to content

code add command no longet add folder to workspace #322122

@DickTracyII

Description

@DickTracyII

Type: Bug

I used to run code add <path to folder> While in a workspace and it would add it to the same workspace but now it just opens a new window.

VS Code version: Code 1.125.1 (fcf6047, 2026-06-19T08:39:34Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i7-11370H @ 3.30GHz (8 x 3302)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x9a49 [Intel(R) Iris(R) Xe Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.6737 ACTIVE
GPU1: VENDOR= 0x10de, DEVICE=0x25b8 [NVIDIA RTX A2000 Laptop GPU], DRIVER_VERSION=32.0.15.9155
GPU2: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8730
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.84GB (3.20GB free)
Process Argv
Screen Reader yes
VM 0%
Extensions (14)
Name Identifier Author Version
markdownlint davidanson.vscode-markdownlint DavidAnson 0.61.2
learn-article-templates docsmsft.docs-article-templates docsmsft 1.0.8
Learn Authoring Pack docsmsft.docs-authoring-pack docsmsft 1.0.3
learn-images docsmsft.docs-images docsmsft 1.0.5
learn-markdown docsmsft.docs-markdown docsmsft 1.0.18
learn-scaffolding docsmsft.docs-scaffolding docsmsft 1.0.9
learn-yaml docsmsft.docs-yaml docsmsft 1.0.6
Rainbow CSV mechatroner.rainbow-csv mechatroner 3.24.1
Agency microsoft.agency Microsoft 1.0.260424001
VS Code Speech ms-vscode.vscode-speech ms-vscode 0.16.0
Rego Lint plex.vscode-regolint plex 0.2.0
YAML redhat.vscode-yaml redhat 1.23.0
Open Policy Agent tsandall.opa tsandall 0.23.0
vscode-icons vscode-icons-team.vscode-icons vscode-icons-team 12.18.0

Metadata

Metadata

Assignees

Labels

new releaseIssues found in a recent release of VS Code

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions