microsoft / microsoft/language-server-protocol
Add "generated" to `SymbolTag`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
Many languages provide the ability for the compiler to generate additional symbols (e.g. Haskell or Rust's deriving). It can be helpful for the language server to talk about these symbols, for example, in a call hierarchy display. However, the fact that the symbols correspond to generated definitions makes them notably different (they might have odd locations, for example), so it would be helpful if clients were able to display some kind of indication that the symbol is a generated one.
SymbolTag seems like a sensible place to put this information.
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 locating the SymbolTag definition in the protocol specification and reviewing how existing symbol tags are represented and consumed. Compare the proposed generated-symbol indication with compiler-generated symbols such as Haskell deriving or Rust-generated definitions; done requires a settled protocol design that explains the tag and its client-facing meaning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 32/100