[BUG]VSCode Extension cant open py to claude
Resolved 💬 6 comments Opened Nov 19, 2025 by MengZou Closed Mar 4, 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?
[Bug] VSCode Extension Cannot Recognize Python (.py) Files
Environment Information
- Claude Code Extension Version: 2.0.45
- VSCode Version: 1.106.1 (commit: cb1933bbc38d329b3595673a600fab5c7368f0a7)
- Operating System: Linux 6.12.0-150.el10.x86_64
- Python Extension Version: ms-python.python@2025.18.0
What Should Happen?
Expected Behavior
- Python (.py) files should be recognized and processed like other file types
- Selected Python code should be able to be sent to the Claude Code dialog
- When using
@to reference files, Python files should be visible and selectable
Error Messages/Logs
Steps to Reproduce
- Open a project containing Python files in VSCode
- Try either of the following operations:
- Send selected code: Select code in a .py file and try to send it to Claude Code via right-click menu or shortcut
- @ file reference: Type
@in the Claude Code dialog and view the list of available files
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.0.45
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗