fwcd / fwcd/kotlin-language-server
Client capabilities, how to reference them?
- Dominant language
- Kotlin
- Stars
- 2k
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description
@fwcd I have discovered some issues with workspace and document symbols in that they do not comply with the spec constraints on using some or all of the symbol kinds and the document symbols request has some constraints as well. I will detail these issues in a subsequent report along with a PR to fix them. To that end, I need to access the client capabilities but as near as I can tell, they are not persisted as part of the Initialize request. Is it possible that I am missing something and there is some other way to access the client capabilities? I will proceed by adding a ClientConfiguration property to the Configuration class and create that property as part of initialize request processing. Do advise if you have some other preference. Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing Initialize request processing and inspect how Configuration is created, since the issue says client capabilities are not persisted there. Compare the available data with the language-server protocol requirements; done means the workspace and document symbol handling can access the needed client capabilities.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- kotlin
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100