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

LSP

by sublimelsp ST3

Language Server Protocol support for Sublime Text 3

Details

Installs

  • Total 20K
  • Win 6K
  • Mac 7K
  • Linux 6K
Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 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
Windows 9 17 11 8 16 13 10 22 20 19 13 13 14 9 13 22 12 10 10 11 9 10 18 22 12 8 14 25 13 11 28 15 12 12 20 26 18 15 13 16 21 20 13 21 16 11
Mac 11 22 22 14 20 21 27 13 29 18 20 9 15 16 22 15 16 16 11 21 25 24 27 12 16 12 16 21 24 21 21 9 16 18 17 16 18 15 10 6 11 18 19 16 12 9
Linux 12 20 17 19 20 11 9 11 9 15 14 16 13 15 15 15 20 11 9 5 12 15 8 14 11 15 18 21 20 19 15 17 10 13 28 14 9 20 12 17 16 25 22 24 16 7

Readme

Source
raw.​githubusercontent.​com

LSP

GitHub release Github Action Coverage Status SublimeHQ Discord

Language Server Protocol support for Sublime Text 3 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
    • ❌ documentation field is ignored
    • ❌ completionItem/resolve is not perfect
    • ❌ various manual workarounds for textEdit
  • ✅ hover
  • ✅ signatureHelp
  • ✅ declaration
    • ✅ link support
  • ✅ definition
    • ✅ link support
  • ✅ typeDefinition
    • ✅ link support
  • ✅ implementation
    • ✅ link support
  • ✅ references
  • ✅ documentHighlight
  • ✅ documentSymbol
  • ✅ codeAction
  • ❌ codeLens
  • ❌ documentLink
  • ✅ colorProvider
  • ✅ formatting
  • ✅ rangeFormatting
  • ❌ onTypeFormatting
  • ✅ rename
  • ✅ publishDiagnostics
  • ❌ foldingRange

Workspace Capabilities

  • ✅ applyEdit
  • ✅ workspaceEdit
  • ✅ didChangeConfiguration
  • ❌ didChangeWatchedFiles
  • ✅ symbol
  • ✅ executeCommand