[BUG] python lsp plugin reads read files and directories that are in .gitignore

Resolved 💬 1 comment Opened Feb 16, 2026 by nirayalon Closed Feb 16, 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?

I have installed the python lsp plugin, and it works, however the tool findReferences returns references to symbols that are in .gitignore files

What Should Happen?

The lsp server should respect the .gitignore file

Error Messages/Logs

Steps to Reproduce

  1. Install python lsp plugin
  2. invoke the ‘findReferences’ for symbol that also exists in .git ignored file
  3. The tool results will return references to git ignored files

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.42

Platform

AWS Bedrock

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗