Open
Description
Does this issue occur when all extensions are disabled?: No
- VS Code Version: 1.98.2
- OS Version: Darwin arm64 24.3.0
Steps to Reproduce:
- Open a Python file in VS Code with the Pylance extension enabled.
- Hover over a function to see its annotations (works as expected).
- Open the GitHub Copilot tab and ask about the file.
- Switch back to the Python file and try to see function annotations again.
- Annotations no longer appear.
- Reloading the window (
Developer: Reload Window
) restores functionality.
Expected Behavior:
Opening the Copilot tab should not break Pylance's function annotations in Python files.
Actual Behavior:
After opening the Copilot tab, Pylance stops displaying function annotations in the editor until the window is reloaded.
Logs:
[Info] Pylance language server started
[Info] Function annotations working...
[Info] Copilot tab opened
[Error] File or directory "vscode-chat-code-block://..." does not exist.
[Info] No source files found.