gluon-lang / lsp-types

Types for communicating with a language server
MIT License
328 stars 86 forks source link

Feature Request: Support itemDefaults in CompletionList #283

Open wlh320 opened 5 months ago

wlh320 commented 5 months ago

I found that there has already been item_defaults field in CompletionListCapability.

https://github.com/gluon-lang/lsp-types/blob/18ed1b82dad435aba0b3643d0fa14fa12e77a0dc/src/completion.rs#L205

However, CompletionList struct still does not support specifying itemDefaults.

Are there any plans to support this feature? Thank you!

Corresponding LSP specification: https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#completionList