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 2K
  • Win 556
  • OS X 953
  • Linux 702
Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 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
Windows 1 1 0 5 5 1 3 2 2 6 5 4 2 6 5 4 4 2 4 0 0 2 3 1 6 8 0 3 5 2 2 1 5 2 0 2 3 3 8 2 1 0 3 1 4 0
OS X 4 4 4 3 6 3 4 4 5 3 6 8 2 7 3 6 3 5 5 4 2 6 2 5 2 4 8 3 6 4 7 4 1 4 5 3 8 4 9 4 5 2 5 8 5 4
Linux 4 2 5 6 5 2 1 4 1 5 4 3 2 2 8 6 8 7 2 2 4 3 3 9 6 3 2 7 3 4 0 6 3 2 2 1 2 5 3 7 0 7 4 12 3 4

Readme

Source
raw.​githubusercontent.​com

LSP

GitHub release Build Status 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.