[Bug] VSCode Extension Ignores .py Files with Specific .gitignore Pattern

Resolved 💬 7 comments Opened Oct 2, 2025 by reinfrisah Closed Jan 9, 2026

Bug Description
Vscode extension does not recognize .py with claude code when *.py,cover is present within the .gitignore file. commenting the line out enables claude code to reference the .py files

Environment Info

  • Platform: darwin
  • Terminal: Apple_Terminal
  • Version: 2.0.1
  • Feedback ID: b6d295be-47f6-406a-a8e7-2a8121bbf012

Errors

[{"error":"Error: Language not supported while highlighting code, falling back to markdown: \n    at QK (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:1183)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:911\n    at Array.map (<anonymous>)\n    at xX (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1741:902)\n    at dJB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2847:9380)\n    at CC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:34:19415)\n    at Fp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:42814)\n    at I9 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38355)\n    at Ch (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38283)\n    at TC (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:36:38137)","timestamp":"2025-10-02T20:19:21.357Z"}]

View original on GitHub ↗

This issue has 7 comments on GitHub. Read the full discussion on GitHub ↗