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

LSP-Omni​Sharp

by sublimelsp ST4

Convenience plugin to install/update OmniSharp for LSP

Details

Installs

  • Total 207
  • Win 131
  • Mac 35
  • Linux 41
Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 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
Windows 0 4 3 1 2 0 4 0 1 2 1 2 0 0 0 5 0 2 1 0 6 1 1 1 3 0 0 2 0 4 3 3 1 1 1 3 1 1 2 1 2 3 2 2 3 0
Mac 0 0 0 1 2 0 0 2 0 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 1 1 1 0 0 0 1 0 0 0 0
Linux 0 2 2 1 1 0 0 0 1 0 0 1 0 1 2 0 0 0 1 0 2 1 1 1 0 0 3 0 0 1 2 2 0 1 0 0 0 0 1 0 1 0 1 0 0 3

Readme

Source
raw.​githubusercontent.​com

LSP-OmniSharp

This is a helper package that automatically installs and updates OmniSharp for you.

To use this package, you must have:

  • The LSP package.
  • The .NET SDK. (The “Core” version does not work on macOS.)
  • For macOS and Linux, Mono in order to be able to run the executable.

Applicable Selectors

This language server operates on views with the source.cs base scope.

Installation Location

The server is installed in the $DATA/Cache/LSP-OmniSharp directory, where $DATA is the base data path of Sublime Text. For instance, $DATA is ~/.config/sublime-text on a Linux system. If you want to force a re-installation of the server, you can delete the entire $DATA/Cache/LSP-OmniSharp directory.

Like any helper package, installation starts when you open a view that is suitable for this language server. In this case, that means that when you open a view with the source.cs base scope, installation commences.

Configuration

Configure OmniSharp by accessing Preferences > Package Settings > LSP > Servers > LSP-OmniSharp.

Quirks

OmniSharp takes a while to initialize itself because it starts compiling your project in the background. This is after the “server” has initialized so it may look like it's doing nothing while it's compiling.

Capabilities

OmniSharp can do a lot of cool things, like

  • code completion
  • signature help
  • hover info
  • some quality code actions
  • formatting
  • find references
  • goto def