Skip to content

Latest commit

 

History

History
69 lines (57 loc) · 1.78 KB

LSP_TRACKER.md

File metadata and controls

69 lines (57 loc) · 1.78 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
    • commitCharacterSupport
    • documentationFormat
    • deprecatedSupport
    • preselectSupport
    • tagSupport
    • insertReplaceSupport
    • resolveSupport <- Allows LSPs to resolve additional properties lazily, potentially improving latency
    • insertTextModeSupport
    • labelDetailsSupport
  • completionItemKind
  • contextSupport

Server Capabilities

  • triggerCharacters
  • allCommitCharacters
  • resolveProvider
  • 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 <- asIs only, not sure we'll support adjustIndentation
  • textEdit
  • textEditText
  • 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