microsoft / microsoft/language-server-protocol
DefinitionRequest Change
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13k
- Forks
- 1k
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 10
Description
Attach A selectionRange to definitionRequest as given the code
let x = 1
print(x)
if you select x from right to left the cursor position is at the end and if you select it from left to right the cursor position is at the start. when you try and figure out if x is used, this makes it inconsistent. if a selectionRange was provided the client could choose what to use.
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
Review the language server protocol definition for definitionRequest and compare its existing position and range conventions. Determine how a client-provided selectionRange should be specified, including the left-to-right and right-to-left example, and verify that the resulting protocol wording is unambiguous.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100