Tab Completion Fails with Spaces in Folder Names
Resolved 💬 3 comments Opened Aug 20, 2025 by gamepad-coder Closed Jan 8, 2026
Tab Completion Fails with Spaces in Folder Names
Bug Description
Tab completion works strangely when folders have spaces.
I have a file named DOCS/3. SPRINT/12. Color Highlighting -- FAILED/sprint-12-retro.md
where DOCS/ is in project root.
Step 1:
I typed@DOCS/3. SPRINT with the cursor just after the T in SPRINT.
Step 2:
I pressed tab, showing me this
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > @DOCS/3. SPRINT │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
DOCS/3. SPRINT/0. SprintTemplateCopyMe/sprint-N-retro.md
DOCS/3. SPRINT/0. SprintTemplateCopyMe/sprint-N-progress.md
DOCS/3. SPRINT/0. SprintTemplateCopyMe/sprint-N-plan.md
CODE/tests/simple/demos/Sprint9Demo.test.ts
CODE/tests/specific/demos/Sprint8Demo.test.ts
CODE/tests/specific/demos/Sprint8Demo-NestedReactivity-Fix.test.ts
CODE/tests/specific/demos/Sprint7Demo.test.ts
DOCS/3. SPRINT/11. JsonDisplayRenderer Architecture/sprint-11-retro.md
DOCS/3. SPRINT/11. JsonDisplayRenderer Architecture/sprint-11-progress.md
DOCS/3. SPRINT/11. JsonDisplayRenderer Architecture/sprint-11-plan.md
Step 3:
I typed 12, giving me this:
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > @DOCS/3. SPRINT12 │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
DOCS/3. SPRINT/2. CodeMirror Node Display/sprint-2-retro.md
DOCS/3. SPRINT/2. CodeMirror Node Display/sprint-2-progress.md
DOCS/3. SPRINT/2. CodeMirror Node Display/sprint-2-plan.md
DOCS/3. SPRINT/12. Color Highlighting -- FAILED/sprint-12-retro.md
DOCS/3. SPRINT/12. Color Highlighting -- FAILED/sprint-12-progress.md
DOCS/3. SPRINT/12. Color Highlighting -- FAILED/sprint-12-plan.md
CODE/app/specific/demos/Sprint2Demo CodeMirror Display/Sprint2Demo.demo.vue
CODE/app/specific/demos/Sprint1Demo Node Persistence MVP/Sprint1Demo.demo.vue
DOCS/2. TASKS/TASK-009-Sprint2Demo.md
DOCS/2. TASKS/TASK-005-Sprint1Demo.md
Step 4:
I used the down arrow key to highlight the following: DOCS/3. SPRINT/12. Color Highlighting -- FAILED/sprint-12-retro.md
then I pressed tab key.
Result:
I got:
╭───────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│ > @DOCS/3. @"DOCS/3. SPRINT/12. Color Highlighting -- FAILED/sprint-12-retro.md" │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────╯
⧉ In sprint-12-retro.md
just reproduced in another terminal, then pasted the steps here.
.
Environment Info
- Platform: linux
- Terminal: vscode
- Version: 1.0.85
- Feedback ID: 862b3aca-e899-46e4-9af6-3cc2ddafa8bd
Errors
Note: Error logs were truncated.
&labels=user-reported,bug
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗