ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP

by sublimelsp ST3

Client implementation of the Language Server Protocol for Sublime Text

Details

  • 1.2.12
    0.14.3
  • github.​com
  • github.​com
  • 6 days ago
  • 20 minutes ago
  • 4 years ago

Installs

  • Total 35K
  • Win 11K
  • Mac 13K
  • Linux 11K
Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22
Windows 3 21 14 20 29 15 22 19 26 8 25 26 29 27 21 23 17 20 27 22 15 21 10 22 19 16 30 20 20 19 22 26 29 17 29 20 20 16 20 23 21 22 18 21 16 29
Mac 1 23 28 19 24 16 31 26 21 23 32 42 26 32 28 14 20 30 31 27 34 23 13 17 22 23 29 20 25 22 14 25 24 30 28 23 20 24 18 23 19 28 21 28 27 19
Linux 1 30 16 27 28 26 26 27 20 21 19 28 33 21 23 15 25 21 30 20 15 23 12 20 18 19 19 17 34 26 28 25 35 21 27 29 18 18 18 19 28 15 23 20 16 24

Readme

Source
raw.​githubusercontent.​com

:information_source: You are reading the README of the st4000-exploration branch. This branch targets ST4. If you are looking for the ST3 version, switch to the master branch.

LSP

License GitHub release Github Action Coverage Status SublimeHQ Discord

Language Server Protocol support for Sublime Text that gives you IDE features.

diagnostics screen-shot

Installation

Stable Version

Open the command palette and run Package Control: Install Package, then select LSP.

Development Version

Clone this repository into your Packages directory. Open the command palette and run Package Control: Satisfy Dependencies.

Getting started

Follow the installation steps for a specific language server.

Open a document supported by the language server. LSP should report the language server starting in the status bar.

See more information in the documentation :open_book:.

Customisation of the popups

LSP uses mdpopups to display the popup. You can override its style by creating a Packages/User/mdpopups.css file. See the mdpopups documentation for more details.

Getting help

If you have any problems, see the troubleshooting guide for tips and known limitations. If the documentation cannot solve your problem, you can look for help in:

LSP specification implementation status

Text Document Capabilities

  • ✅ synchronization
    • ✅ didOpen
    • ✅ didChange
    • ✅ Full text sync
    • ✅ Incremental text sync
    • ✅ willSave
    • ✅ willSaveWaitUntil
    • ✅ didSave
    • ✅ Include text
    • ✅ didClose
  • ✅ completion
    • ✅ insertText
    • ✅ textEdit
    • ❌ prefix filter textEdit
    • ✅ documentation (both static and from completionItem/resolve)
    • ✅ Run command after inserting completion
    • ❌ insertReplaceEdit variant
  • ✅ hover
  • ✅ signatureHelp
    • ❌ context
  • ✅ declaration
    • ✅ link support
  • ✅ definition
    • ✅ link support
  • ✅ typeDefinition
    • ✅ link support
  • ✅ implementation
    • ✅ link support
  • ✅ references
  • ✅ documentHighlight
  • ✅ documentSymbol
  • ✅ codeAction
    • ✅ resolve
  • ✅ codeLens (only when backed by a helper package)
  • ❌ documentLink
  • ✅ colorProvider
  • ✅ formatting
  • ✅ rangeFormatting
  • ❌ onTypeFormatting
  • ✅ rename
  • ✅ publishDiagnostics
  • ❌ foldingRange sublimehq/sublime_text#3389
  • ✅ selectionRange
  • ❌ semanticHighlighting #887, sublimehq/sublime_text#817
  • ❌ callHierarchy

Workspace Capabilities

  • ✅ applyEdit
  • ✅ workspaceEdit
    • ✅ documentChanges
    • ❌ resourceOperations
    • ❌ failureHandling
  • ✅ didChangeConfiguration
  • ❌ didChangeWatchedFiles #892, sublimehq/sublime_text#2669
  • ✅ symbol
  • ✅ executeCommand

Window Capabilities

  • ✅ workDoneProgress
    • ✅ create
    • ❌ cancel
  • ✅ showMessage request additionalPropertiesSupport

Dynamic Registration

✅ Fully implemented