Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: support inline CodeLens references #1605

Open
tomgilder opened this issue Apr 9, 2019 · 8 comments
Open

Feature request: support inline CodeLens references #1605

tomgilder opened this issue Apr 9, 2019 · 8 comments
Labels
in editor Relates to code editing or language features in lsp/analysis server Something to be fixed in the Dart analysis server is enhancement
Milestone

Comments

@tomgilder
Copy link
Contributor

Hello! I would love Dart Code to support inline CodeLens references, as it supports for C# and TypeScript:

Screenshot 2019-04-09 at 09 19 42

Here's how it's implemented for TypeScript: https://github.com/Microsoft/vscode/blob/master/extensions/typescript-language-features/src/features/referencesCodeLens.ts

Thank you for all the great work so far 😀

@DanTup DanTup added in editor Relates to code editing or language features is enhancement labels Apr 9, 2019
@DanTup DanTup added this to the On Deck milestone Apr 9, 2019
@DanTup
Copy link
Member

DanTup commented 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.

@DanTup DanTup added the blocked on dart / flutter Requires a change in Dart or Flutter to progress label Apr 16, 2019
@DanTup DanTup modified the milestones: On Deck, Backlog Jul 18, 2019
@DanTup DanTup added the in lsp/analysis server Something to be fixed in the Dart analysis server label Jun 1, 2020
@MoeHamdan
Copy link

When will this be released? This is really very important, it will help us navigate the code quickly.

@DanTup
Copy link
Member

DanTup commented 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
Copy link

I understand. Thank you, keep up the good work! :) hopefully you will have time to develop this soon.

@DanTup DanTup removed the blocked on dart / flutter Requires a change in Dart or Flutter to progress label Jan 26, 2021
@rohitvishwakarma1819
Copy link

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
Copy link
Member

DanTup commented 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
Copy link

alp1396 commented Dec 23, 2023

Is there any news about feature? 2024 is coming, so...

@Number-3434
Copy link

I've opened a feature request in VSCode to automatically implement this:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in editor Relates to code editing or language features in lsp/analysis server Something to be fixed in the Dart analysis server is enhancement
Projects
None yet
Development

No branches or pull requests

6 participants