[BUG] VSCode工作区在 D 盘(不需要是根目录),扩展在处理路径时把 D:\MySpace 错误地截断成了 d:
Resolved 💬 2 comments Opened Apr 3, 2026 by liudiliang1199-afk Closed May 12, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
- Extension version: 2.1.90
▎ - OS: Windows 11
▎ - Workspace path: D:\MySpace
▎ - Error: EISDIR: illegal operation on a directory, lstat 'd:' in resolveWebviewView
▎ - Effect: View claudeVSCodeSidebarSecondary fails to restore, Claude Code chat panel inaccessible
What Should Happen?
fix it!!!
Error Messages/Logs
VSCode工作区在 D 盘(不需要是根目录)
Steps to Reproduce
将VSCode的工作区设置在 D 盘(不需要是根目录),然后在聊天窗口找到claude code,就会出现:还原视图时出错: claudeVSCodeSidebarSecondary
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.90
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
VS Code integrated terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗