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

LSP

by sublimelsp ST3 Trending

Client implementation of the Language Server Protocol for Sublime Text

Details

  • 1.1.0
    0.14.2
  • github.​com
  • github.​com
  • 1 week ago
  • 2 hours ago
  • 3 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

LSP

License GitHub release Github Action Coverage Status Documentation 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 language server.

Enable the server by running LSP: Enable Language Server from the command palette.

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

Documentation is available at LSP.readthedocs.io.

Available Languages

See Language Server Protocol for more available implementations. Please create issues/pull requests so we can get support for more languages.

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:

Capabilities

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
  • ❌ 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