Where does the bug appear (feature/product)?
Cursor IDE
Describe the Bug
This is a critical usability issue that has remained unresolved for approximately four months. Reports date back to April, and the problem persisted throughout May, June, and July.
Python Go to Definition works in the classic IDE but does not work in Agents Window.
My configuration is working correctly in the IDE:
- Microsoft Python and Cursor Pyright are installed and running.
- The project’s .venv interpreter is selected.
- The Agents Window LSP toggle is enabled.
- F12 works in the classic IDE.
In Agents Window, F12 reports “No definition found.” It also fails for Python standard-library symbols such as pathlib.Path, demonstrating that this is not caused by the project’s imports, source layout, or virtual environment.
I have tried:
- Disabling and re-enabling the LSP toggle
- Closing and reopening files
- Restarting Cursor Pyright
- Reloading Cursor
- Reinstalling Microsoft Python and Cursor Pyright
- Removing Pylance to eliminate conflicts
- The behavior remains unchanged.
Previous related discussions:
Please confirm whether this is actively tracked and provide its current status, target release, or approximate ETA.
Steps to Reproduce
- Install and enable Microsoft Python (
ms-python.python) and Cursor Pyright (anysphere.cursorpyright). - Open a Python workspace with a valid virtual environment.
- Select that virtual environment in the classic IDE.
- Open a Python file containing:
from pathlib import Path path = Path(".") - Place the cursor on
Pathand press F12 in the classic IDE. - Confirm that Go to Definition works.
- Open the same workspace and file in Agents Window.
- Enable the LSP toggle in the file tab.
- Place the cursor on the same
Pathsymbol and press F12.
Actual result: Agents Window reports “No definition found.”
Expected Behavior
With LSP enabled, F12 and Go to Definition should work consistently between the classic IDE and Agents Window.
Agents Window should navigate to definitions for:
- Symbols defined in the same file
- Symbols imported from project files
- Python standard-library symbols
- Symbols from installed dependencies
Operating System
MacOS
Version Information
Version: 3.15.6 (Universal)
VS Code Extension API: 1.128.0
Commit: a1f686545fd0ce8917bbd2449f733551a9bce420
Date: 2026-08-06T01:41:03.876Z
Layout: Agent Window
Build Type: Stable
Release Track: Default
Electron: 40.10.3
Chromium: 144.0.7559.236
Node.js: 24.15.0
V8: 14.4.258.32-electron.0
xterm.js: 6.1.0-beta.291
OS: Darwin arm64 24.6.0
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor