Skip to content

Latest commit

 

History

History
71 lines (59 loc) · 2.09 KB

LSP_TRACKER.md

File metadata and controls

71 lines (59 loc) · 2.09 KB

LSP Support Tracker

Completion Items

  • completionItem/resolve <- Used to get information such as documentation which would be too expensive to include normally

Client Capabilities

  • dynamicRegistration
  • CompletionItem
    • snippetSupport <- Are we advertising this?
    • commitCharacterSupport
    • documentationFormat <- Are we advertising this?
    • deprecatedSupport <- Are we advertising this?
    • preselectSupport
    • tagSupport <- Are we advertising this?
    • insertReplaceSupport
    • resolveSupport <- Allows LSPs to resolve additional properties lazily, potentially improving latency
    • insertTextModeSupport
    • labelDetailsSupport
  • completionItemKind <- Seems like we might not need to support this?
  • contextSupport <- Are we advertising this?
  • CompletionList
    • itemDefaults

Server Capabilities

  • triggerCharacters
  • allCommitCharacters
  • resolveProvider <- we always assume it can
  • CompletionItem
    • labelDetailsSupport

Request Params

  • CompletionContext
    • triggerKind
    • triggerCharacter

List

  • isIncomplete
  • itemDefaults
    • commitCharacters
    • editRange
    • insertTextFormat
    • insertTextMode
    • data
  • items

Item

  • label
  • labelDetails
  • kind
  • tags
  • detail
  • documentation <- both string and markup content
  • deprecated
  • preselect
  • sortText
  • filterText
  • insertText
  • insertTextFormat <- regular or snippet
  • insertTextMode
  • textEdit <- we support TextEdit (typical) but not the rare InsertReplaceEdit
  • textEditText <- add support when supporting defaults
  • additionalTextEdits <- known issue where applying the main text edit will cause this to be wrong if the additional text edit comes after since the indices will be offset
  • commitCharacters
  • command
  • data <- Don't think there's anything special to do here