Chat file links with #L still do not open at that line (confirmed in 1.7.54, still broken on 3.24.18)

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Clicking a markdown file link in agent chat that includes a line anchor (#L) does not open the file at that line. The same link without #L opens the file.

This is the regression @deanrie confirmed on 28 Oct 2025: it worked in 1.6.46 and broke in 1.7.54.

That topic was closed automatically on 19 Nov 2025, so it cannot take new replies. The bug is still present on Cursor 3.24.18, checked on 19 Oct 2026.

Steps to Reproduce

  1. In agent chat, render this markdown link:
    [report](file:///C:/Users/Administrator/.cursor/reports/073e9eff-b345-4ac0-809b-629f7f3c2627.md#L27)
  2. Click the link.
  3. The editor does not open at line 27.
  4. The same URL without #L27 opens the file.

Expected Behavior

Open the file and move to line 27, as version 1.6.46 did.

Operating System

Windows 10/11

Version Information

Version: 3.24.18
OS: Windows_NT 10.0.26300

For AI issues: which model did you use?

Not model-specific. The failure is clicking the rendered link in chat.

For AI issues: add Request ID with privacy disabled

n/a. This is an IDE link click, not a model request.

Additional Information

Staff reply on the old topic (deanrie, 28 Oct 2025): “This is a clear regression in v1.7.54.” The workaround given then was to roll back to 1.6.46. The link uses forward slashes and a single-line anchor (#L27), not a line range.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @Qrsfx_Management,

Thanks for the report and for linking the earlier thread.

Opening file: links with a #L line anchor was reworked in Cursor 3.25. The chat should now read the anchor as a line number, and Markdown files should open in source view at that line instead of the rendered preview. You mentioned you’re on 3.24.18, which doesn’t include this change.

Could you update and try again?

  1. Update to Cursor 3.25.6 or later (Cursor → About Cursor should show 3.25.x).
  2. Restart Cursor.
  3. Open a new agent chat and have it render your test link: [report](file:///C:/Users/Administrator/.cursor/reports/<your-file>.md#L27)
  4. Click the link.

Does the file open with line 27 selected? If not, reply with your exact Cursor version and whether you’re using the Agents Window or the chat panel in the editor window, and we’ll take it from there.