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

LSP

by tomv564 ST3 Trending

Language Server Protocol support for Sublime Text 3

Details

Installs

  • Total 4K
  • Win 1K
  • OS X 2K
  • Linux 1K
Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11
Windows 7 8 10 9 12 13 6 9 4 10 5 9 6 14 8 13 12 3 8 10 7 11 6 2 2 7 8 6 4 8 5 6 1 4 1 2 3 1 1 3 2 4 2 1 3 4
OS X 8 15 4 6 19 19 9 11 9 7 6 6 8 11 7 7 9 4 7 9 6 7 6 4 2 3 10 8 11 11 9 7 10 5 2 3 2 9 4 2 1 9 4 6 3 4
Linux 12 13 7 8 12 21 10 41 6 9 4 8 5 9 8 8 1 9 8 11 7 11 9 1 4 9 7 10 7 2 6 6 1 4 4 4 5 3 6 3 7 5 7 8 0 4

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.