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 431
  • OS X 739
  • Linux 520
Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11
Windows 0 2 1 2 1 4 3 2 3 2 4 3 0 2 0 2 5 5 2 5 5 1 2 3 2 2 1 2 1 4 6 5 2 4 1 4 0 6 8 8 6 1 1 2 3 4
OS X 0 1 1 4 9 4 1 8 4 2 9 3 5 4 4 5 9 6 4 2 4 2 5 8 2 7 5 3 0 4 5 7 7 7 9 2 6 11 6 12 8 0 1 2 4 3
Linux 0 1 2 0 3 2 4 2 4 11 4 4 3 5 1 2 6 2 4 7 7 2 5 8 2 6 6 7 1 4 3 6 3 3 1 7 3 9 9 8 2 0 4 1 1 2

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.