Skip to content

CodeLens support #5

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

Closed
angelozerr opened this issue Sep 29, 2017 · 3 comments · Fixed by #785
Closed

CodeLens support #5

angelozerr opened this issue Sep 29, 2017 · 3 comments · Fixed by #785

Comments

@angelozerr
Copy link

angelozerr commented Sep 29, 2017

Like I had suggested at prabirshrestha/typescript-language-server#9

tsserver doesn't supports CodeLens, but we could implement textDocument/codeLens and codeLens/resolve like VSCode does for References CodeLens and Implementations CodeLens

@rchl
Copy link
Member

rchl commented Dec 2, 2021

I don't think it's feasible to implement that unless tsserver provides some fitting API. I think the only option now would be to iterate through all symbols in the file and trigger requests for all of them to get references/implementation which we obviously won't do for performance reasons.

@angelozerr
Copy link
Author

Is there any chance that someone could work on this codelens support.

TypeScript Language Server is beautiful and can manage advanced features like inlay hint, but references codelens is a feature which misses.

Thanks!

@rchl
Copy link
Member

rchl commented Feb 15, 2023

Actually there is an API for that in tsserver and VSCode supports that functionality already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants