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

LSP

by sublimelsp ST3

Language Server Protocol support for Sublime Text

Details

  • 1.0.2
    0.11.3
  • github.​com
  • github.​com
  • 1 week ago
  • 40 minutes ago
  • 3 years ago

Installs

  • Total 24K
  • Win 7K
  • Mac 9K
  • Linux 8K
Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21
Windows 5 14 21 14 20 19 27 16 10 12 12 22 13 19 12 9 11 12 19 19 18 8 9 22 11 9 13 18 9 12 15 17 14 12 23 10 14 15 16 24 20 22 20 19 15 14
Mac 4 17 16 20 27 18 24 17 12 21 21 20 25 21 11 12 16 31 28 25 21 22 12 18 14 23 22 11 13 25 20 17 20 12 26 18 16 17 36 21 29 28 14 22 19 26
Linux 4 10 12 10 18 10 20 9 5 14 19 16 19 21 10 15 20 22 17 30 19 13 8 15 20 26 18 23 15 25 24 26 17 10 16 12 16 13 19 21 23 22 20 18 15 22

Readme

Source
raw.​githubusercontent.​com

LSP

License GitHub release Github Action Coverage Status Documentation 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
    • ✅ documentChanges
    • ❌ resourceOperations
    • ❌ failureHandling
  • ✅ didChangeConfiguration
  • ❌ didChangeWatchedFiles
  • ✅ symbol
  • ✅ executeCommand

Window Capabilities

  • ✅ workDoneProgress
    • ✅ create
    • ❌ cancel