[BUG] VSCode Extension Doesn't Work Well When on Windows
Status Closed — not planned
Maintainer reply None cached
Activity 13 comments · opened Jul 12, 2025 · closed Jan 4, 2026
Environment
- Platform (select one):
- [√] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: 1.0.51
- Operating System: Windows 11
- Terminal: Command Prompt/PowerShell
Bug Description
Claude Code fails to open/access Rust source files with a file path encoding error. The error message appears in Chinese, suggesting an encoding issue when handling Windows file paths. The tool cannot parse the file path correctly, resulting in "unable to parse file system provider with relative file path" error.
Steps to Reproduce
- Navigate to a Rust project directory:
d:\Dev\revm\crates\revm-ssa-graph\src\engine\handler\ - Run Claude Code in the project
- Attempt to update/edit the file
frame.rs - Observe the file path parsing error
Expected Behavior
Claude Code should successfully open and edit the frame.rs file without path encoding issues, regardless of the Windows file path format.
Actual Behavior
Claude Code throws an error:
Error: cannot open _claude_fs_right:d%3A%5CDev%5Crevm%5Ccrates%5Crevm-ssa-graph%5Csrc%5Cengine%5Chandler%5Cframe.rs. Detail: unable to parse file system provider with relative file path "_claude_fs_right:d:\Dev\revm\crates\revm-ssa-graph\src\engine\handler\frame.rs"
The error stack trace shows:
node:internal/process/promises:394triggerUncaughtException(err, true /* fromPromise */);- Multiple references to
@anthropic-ai/claude-code/cli.js
Additional Context
- The error message is displayed in Chinese, which may indicate a locale/encoding issue
- The file path is being URL-encoded (
%3Afor:,%5Cfor\) - This appears to be a Windows-specific path handling issue
- The error occurs when Claude Code tries to access files in deeply nested directory structures
- Project is a Rust codebase with standard Cargo project structure
- The file
frame.rsdoes exist at the specified location and is accessible through other editors
Possible root causes:
- Windows path separator handling
- URL encoding/decoding of file paths
- Locale/encoding settings affecting error message display
- File system provider path resolution issues
13 Comments
I'm currently experiencing the exact same issue. This currently keeps me from using Claude-code in VSCode as it constantly crashes.
I'm encountering this error after installing the Claude Code extension.
Same here, it looks something to do with Windows path separator.
Exact same issue here
+1
+1
Running VSCode as Admin fixes this error for me
Similarly, the situation is the same in a pure WSL environment on Windows systems
<img width="1926" height="800" alt="Image" src="https://github.com/user-attachments/assets/63b9d0bb-9975-4175-ad75-d1e973a3f427" />
its fixed
emmmmm......
It seems there's still an issue here.
After entering claude, execute '/init' after connecting to the ide tool with the '/ide' command
error:
<img width="990" height="407" alt="Image" src="https://github.com/user-attachments/assets/e340a40a-e951-41c8-9c81-d95243133a8f" />
This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.
This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.