Open angelozerr opened 1 month ago
I think there are a lot of language which could use this new file/references
feature like:
//cc @fbricon @rgrunber @datho7561
I like that idea. I will move it to the spec repository .
There is a custom implementation for this in VS Code for TypeScript.
There is a custom implementation for this in VS Code for TypeScript.
Great! It is an another usecase. IMHO I think LSP should provide this feature.
Today LSP specification support
textDocument/references
which works with symbol. It would be nice if LSP specification could provide a new LSP feature likefile/references
to find references from a file selected in the explorer.Takes a sample with the HTML language server.
Given this HTML file:
It would be nice to open the contextual menu from the
foo.css
and have aFind File References
menuto retrieve the
index.html
as find file references.//cc @aeschli