Skip to content

sublimelsp/LSP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Dec 15, 2020
4f5dd90 · Dec 15, 2020
Dec 3, 2020
Dec 13, 2020
Dec 6, 2020
Jul 22, 2020
Dec 15, 2020
Dec 15, 2020
Nov 7, 2020
Dec 6, 2020
Dec 13, 2020
Jun 18, 2020
Jun 15, 2020
Dec 3, 2020
Nov 7, 2020
Sep 30, 2019
Oct 9, 2020
Nov 15, 2020
Nov 10, 2020
Nov 15, 2020
Sep 16, 2020
Dec 13, 2020
Nov 10, 2020
Dec 3, 2020
Dec 15, 2020
Nov 17, 2020
May 2, 2020
Sep 1, 2020
Dec 1, 2020
Dec 15, 2020
Jun 18, 2020
Apr 24, 2020
Nov 27, 2019
Dec 7, 2020
Oct 4, 2020
Dec 13, 2020
Oct 26, 2020
Apr 19, 2020

Repository files navigation

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