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

LSP

by tomv564 ST3

Language Server Protocol support for Sublime Text 3

Details

Installs

  • Total 3K
  • Win 790
  • OS X 1K
  • Linux 1K
Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 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
Windows 0 5 4 1 2 5 3 6 1 1 1 2 0 6 0 2 2 2 3 4 4 4 4 1 2 2 4 5 4 5 0 2 3 4 4 4 4 4 1 0 2 1 5 3 10 4
OS X 1 4 6 2 5 5 3 5 8 4 1 3 10 8 3 4 6 1 2 7 2 9 6 6 4 1 9 4 6 2 3 3 3 1 6 5 7 3 5 3 6 3 10 5 4 6
Linux 0 13 2 4 3 5 4 4 8 3 4 24 4 2 4 4 6 7 5 6 7 4 6 4 7 4 1 5 7 2 5 4 4 1 0 3 5 4 3 1 5 7 7 2 4 7

Readme

Source
raw.​githubusercontent.​com

LSP

license Join the chat at https://gitter.im/SublimeLSP/Lobby

Gives Sublime Text 3 rich editing features for languages with Language Server Protocol support.

Tested against language servers for javascript, typescript, python, php, java, go, c/c++ (clangd), scala (dotty), julia, rust, reason.

See langserver.org for available implementations.

Features

Completions with snippet support.

Navigate code with Go to Symbol Definition and Find Symbol References

Inline documentation from Hover and Signature Help popups

hover screenshot

As-you-type diagnostics with support for code fixes (F4 to select, super+. to trigger actions)

diagnostics screenshot

Installing

Normal installation: Install the LSP package through Package Control in Sublime Text.

To run latest master: 1. Clone this repository into your Packages directory 2. Run Package Control: Satisfy Dependencies in Sublime

Configuration

  1. Install a language server for a language of your choice
  2. Verify a matching configuration exists under clients in Preferences: LSP Settings
  3. Open a document supported by this language server.
  4. LSP should report the language server starting in the status bar.

Documentation is available at LSP.readthedocs.io or in the docs directory

Troubleshooting

Enable the log_debug setting, restart Sublime and open the console. See the Troubleshooting guide for tips and known limitations.

Have you added multiple folders to your Sublime workspace? LSP may not handle your second folder as expected, see this issue for more details.