You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: support inline CodeLens references #1605
in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
Reacted by LucaGabi, Jonas Sander, Niklas Raab, RamiNhu, Jeremie Corpinot, Maurice McCabe, Luciano da Silva Ribas, Mohamad-Sobhie, baz, kymkipas and 37 more
Reacted by zuboje, Roman Petrov, crkit-chan, desmond206x, MD. SHAHIDUL ISLAM and Eyner Mamani
Reacted by RamiNhu, Yusoof Moh, Maurice McCabe, baz, Rohit Vishwakarma, Alex Escobedo, crkit-chan, MD. SHAHIDUL ISLAM, Eyner Mamani and mitchell-coleman-croptide
We might need server support to get them for a whole file in one go. Otherwise we'd have to send repeated requests for references (and use some other data, like Outline?) to know where to send them for.
There's no timeline for releasing this as it has not been developed yet. It would require some additional work in the analysis server first. In the meantime, you can use Go-to-Definition and Find References (both of which have shortcut keys) on the symbol directly.
It would be wonderful if you can give dev option to change reference text position.
Please refer this to understand what I mean.
I hope it is possible.
@rohitvishwakarma1819 thanks for the suggestion! CodeLens rendering is all handled by VS Code and not the extension so this would need support from VS Code. There's an open issue about it at microsoft/vscode#90235 you can 👍 !
Reacted by Rohit Vishwakarma, Kristen McWilliam, razor-99, Vadym Buhaiov, Vincent Montano and Eyner Mamani
No updates on this. In my opinion, this is best implemented as a VS Code (and LSP) feature (either as something new or by using the existing data that exists) and then just the data provided by the extension.
There's an issue open at microsoft/vscode#205561 which only has 17 👍s so I would encourage you to add your 👍 there. Thanks!
in editorRelates to code editing or language featuresin lsp/analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.
Activity
DanTup commentedon Apr 9, 2019
We might need server support to get them for a whole file in one go. Otherwise we'd have to send repeated requests for references (and use some other data, like Outline?) to know where to send them for.
MoeHamdan commentedon Jul 15, 2020
When will this be released? This is really very important, it will help us navigate the code quickly.
DanTup commentedon Jul 15, 2020
There's no timeline for releasing this as it has not been developed yet. It would require some additional work in the analysis server first. In the meantime, you can use Go-to-Definition and Find References (both of which have shortcut keys) on the symbol directly.
MoeHamdan commentedon Jul 15, 2020
I understand. Thank you, keep up the good work! :) hopefully you will have time to develop this soon.
rohitvishwakarma1819 commentedon Dec 25, 2021
Hey @DanTup,
It would be wonderful if you can give dev option to change reference text position.
Please refer this to understand what I mean.
I hope it is possible.
Thanks
DanTup commentedon Dec 29, 2021
@rohitvishwakarma1819 thanks for the suggestion! CodeLens rendering is all handled by VS Code and not the extension so this would need support from VS Code. There's an open issue about it at microsoft/vscode#90235 you can 👍 !
alp1396 commentedon Dec 23, 2023
Is there any news about feature? 2024 is coming, so...
crkit-chan commentedon Feb 19, 2024
I've opened a feature request in VSCode to automatically implement this:
Osmosis311 commentedon Nov 22, 2024
Any update on this?
Anyone know of a 3rd party extension that does this?
eynerdevp commentedon Aug 20, 2025
any update for this?
wisamidris77 commentedon Sep 28, 2025
Still waiting is there any updates!
Even make it with a option like
dart.previewCodeLensReferences
JustLookAtNow commentedon Oct 27, 2025
The year 2025 is almost over — are there any updates?
DanTup commentedon Oct 27, 2025
No updates on this. In my opinion, this is best implemented as a VS Code (and LSP) feature (either as something new or by using the existing data that exists) and then just the data provided by the extension.
There's an issue open at microsoft/vscode#205561 which only has 17 👍s so I would encourage you to add your 👍 there. Thanks!