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 2K
  • Win 1K
  • Mac 303
  • Linux 348
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 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 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
Windows 0 2 2 1 1 2 2 2 5 2 1 3 2 0 7 8 2 2 0 2 2 3 0 4 2 2 7 1 6 2 2 1 1 0 2 3 2 2 4 0 0 2 1 1 3 1
Mac 0 0 0 0 0 0 0 0 1 1 2 0 0 0 0 0 0 1 1 2 0 0 1 0 0 1 2 0 0 2 0 0 1 0 1 0 0 1 0 0 1 3 4 0 0 0
Linux 1 2 1 3 1 1 1 0 1 1 0 1 0 1 2 3 3 1 1 1 2 0 0 0 0 0 1 0 7 0 2 0 2 1 0 0 1 0 0 0 0 1 0 2 1 1

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.)
  • (Optional but recommended) Install the LSP-file-watcher-chokidar via Package Control to enable functionality to notify the server about new files.

Applicable Selectors

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

Installation Location

The server is installed in the $DATA/Package Storage/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 running Preferences: LSP-OmniSharp Settings from the Command Palette.

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