microsoft / microsoft/language-server-protocol
Find references from a given selected file (in explorer)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
Today LSP specification support textDocument/references which works with symbol. It would be nice if LSP specification could provide a new LSP feature like file/references to find references from a file selected in the explorer.
Takes a sample with the HTML language server.
Given this HTML file:
<html>
<link href="foo.css" />
</html>
It would be nice to open the contextual menu from the foo.css and have a Find File References menu
to retrieve the index.html as find file references.
//cc @aeschli
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the existing textDocument/references capability in the LSP specification and the HTML language server example described in this issue. The work is complete when the protocol defines file/references and a selected foo.css file can return index.html through a Find File References action.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- api, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100