continuedev / continuedev/continue
Rule globs don't match files with spaces in filename
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 36k
- Forks
- 5.4k
- PR merge metrics
- No merged PRs in 30d
Description
Before submitting your bug report
- I've tried finding an answer on the Continue docs site
- I'm not able to find an open issue that reports the same bug
- I've seen the troubleshooting guide on the Continue Docs
Description
Environment
- Continue: latest
- VS Code on Windows 11
- Files on Debian via SSH Remote
The problem occurs when using VS Code Remote SSH with a Debian remote host. The project files reside on the remote Linux filesystem, so this is not caused by Windows filename handling.
Rule:
---
name: Test
globs:
- docs/**/*.md
---
Expected:
The rule is applied to every Markdown file in docs/, including files whose names contain spaces.
Actual:
The rule is applied to:
- docs/foo.md
- docs/foo_bar.md
But not to:
- docs/foo bar.md
Even an exact glob does not work:
globs:
- docs/foo bar.md
The rule is not included in the prompt.
Renaming the file to remove the space immediately fixes the issue.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the rule matching and prompt inclusion behavior in VS Code Remote SSH with docs/**/*.md and an exact glob for docs/foo bar.md. Trace the glob-matching entry point for rule files and compare filenames containing spaces with filenames using underscores. Done means both patterns apply the rule to Markdown files whose names contain spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100