# Make file references with line numbers clickable and navigate to exact line

**URL:** <https://forum.cursor.com/t/make-file-references-with-line-numbers-clickable-and-navigate-to-exact-line/146048>\
**Category:** Feature Requests\
**Created:** [December 12, 2025, 8:33am UTC](https://forum.cursor.com/t/make-file-references-with-line-numbers-clickable-and-navigate-to-exact-line/146048 "2025-12-12T08:33:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandimam](https://avatars.discourse-cdn.com/v4/letter/g/7bcc69/32.png) [@grandimam](https://forum.cursor.com/u/grandimam)\
**Post date:** [December 12, 2025, 8:33am UTC](https://forum.cursor.com/t/make-file-references-with-line-numbers-clickable-and-navigate-to-exact-line/146048/1 "2025-12-12T08:33:48Z")

</div>

### Bug report request for product/service

Cursor IDE

### Describe the request

**Not sure whether this is a bug or a feature request.**

When AI assistants reference files with line numbers in responses, clicking on those references should navigate directly to the specified line.

#### Current Behavior:

When an AI assistant references a file like:

```auto
File: seller-service/seller_service/api/v1/products/views.py (line 203)

```

Clicking on it either:

1. Doesn’t work at all
2. Opens the file but doesn’t jump to the line
3. Is inconsistent

#### Expected Behavior:

1. Clicking on file references with line numbers should:
2. Open the file if it’s not already open
3. Navigate to the exact line number specified
4. Work consistently across different reference formats

#### Example Formats That Should Work:

1. File: path/to/file.py (line 123)

#### Use Cases:

When reviewing AI suggestions that reference specific code locations, being able to click and jump directly to that line would significantly improve the workflow, similar to how VS Code handles file:line references.

### Operating System (if it applies)

MacOS

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [December 12, 2025, 12:49pm UTC](https://forum.cursor.com/t/make-file-references-with-line-numbers-clickable-and-navigate-to-exact-line/146048/2 "2025-12-12T12:49:00Z")

</div>

Hey, thanks for the report. We want to investigate and make it stable.

Please share:

- Exact examples of chat lines where clicking doesn’t lead to navigation
- Whether the link becomes clickable in the chat or is just text
- Reproduction steps and a short video
- Cursor and macOS version: Help \> About
- Open Help \> Toggle Developer Tools and click on such a link, send errors from the Console
- Whether the file is inside the current workspace and if the path is relative

Let us know what you find out.

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [January 3, 2026, 12:49pm UTC](https://forum.cursor.com/t/make-file-references-with-line-numbers-clickable-and-navigate-to-exact-line/146048/3 "2026-01-03T12:49:15Z")

</div>

Closed on January 3, 2026, 12:49pm UTC

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.
