# project_symbols: Display line numbers in symbol picker \(\#46507\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/1148773d496eedb58d45ac8acd6472d0bcc549bf)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 1148773d496eedb58d45ac8acd6472d0bcc549bf

Requested commit: 1148773d496eedb58d45ac8acd6472d0bcc549bf

Commit: 1148773d496eedb58d45ac8acd6472d0bcc549bf

Tree: dc999b66c6e5e6ea9cbbdd51c4b92c97bec059af

Author: Shuhei Kadowaki

Committer: GitHub

## Message

```
project_symbols: Display line numbers in symbol picker (#46507)

Some language servers return local symbols in `workspace/symbol`
responses, and languages like Julia can have multiple overloads for the
same generic function name. In these cases, symbols may appear identical
in the symbol picker, making it hard to distinguish between them. Adding
line numbers helps users identify the correct symbol.

In the future, we may also want to consider using `containerName` from
the LSP response for additional context.

> Before
<img width="671" height="573" alt="Screenshot 2026-01-10 at 19 21 08"
src="https://github.com/user-attachments/assets/838c3eb7-0e1d-46ba-9076-286e971afc2c"
/>

> After
<img width="671" height="573" alt="Screenshot 2026-01-10 at 19 43 19"
src="https://github.com/user-attachments/assets/31979d79-0169-4202-afc2-24fc7492dd47"
/>


Closes #ISSUE

Release Notes:

- Added line numbers to the project symbols picker to help distinguish
between symbols with the same name

---------

Co-authored-by: Matt Miller <mattrx@gmail.com>
```

## Parents

- [3b678686754d3e1e75e1db7ce5f7f40f29a0d906](https://git.cafe/gitcafe/zed/commit/3b678686754d3e1e75e1db7ce5f7f40f29a0d906?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/1148773d496eedb58d45ac8acd6472d0bcc549bf?format=markdown)
