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

LSP-Dart

by sublimelsp ST4

Convenience plugin for the Dart Analysis Server, bundled in the Dart SDK

Details

Installs

  • Total 4K
  • Win 2K
  • Mac 933
  • Linux 1K
May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 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
Windows 1 2 2 1 1 2 2 2 0 1 0 0 1 0 2 3 1 0 0 4 2 4 1 1 2 1 0 0 1 2 1 0 1 0 0 0 1 1 1 1 6 0 2 2 0 3
Mac 1 0 0 0 0 1 0 0 1 4 0 0 0 1 0 0 0 0 1 0 0 2 1 1 4 2 0 0 1 2 1 1 0 1 1 4 0 0 2 0 0 1 1 0 0 0
Linux 0 0 0 0 3 2 1 0 3 0 2 2 0 0 2 2 1 0 2 0 0 1 2 0 2 3 1 1 0 3 0 0 1 1 1 1 1 2 1 0 0 0 5 1 1 1
02468May 15May 12May 9May 6May 3Apr 30Apr 27Apr 24Apr 21Apr 18Apr 15Apr 12Apr 9Apr 6Apr 3Mar 31May 15 Linux: 0 Mac: 1 Windows: 1May 14 Linux: 0 Mac: 0 Windows: 2May 13 Linux: 0 Mac: 0 Windows: 2May 12 Linux: 0 Mac: 0 Windows: 1May 11 Linux: 3 Mac: 0 Windows: 1May 10 Linux: 2 Mac: 1 Windows: 2May 9 Linux: 1 Mac: 0 Windows: 2May 8 Linux: 0 Mac: 0 Windows: 2May 7 Linux: 3 Mac: 1 Windows: 0May 6 Linux: 0 Mac: 4 Windows: 1May 5 Linux: 2 Mac: 0 Windows: 0May 4 Linux: 2 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 1 Windows: 0May 1 Linux: 2 Mac: 0 Windows: 2Apr 30 Linux: 2 Mac: 0 Windows: 3Apr 29 Linux: 1 Mac: 0 Windows: 1Apr 28 Linux: 0 Mac: 0 Windows: 0Apr 27 Linux: 2 Mac: 1 Windows: 0Apr 26 Linux: 0 Mac: 0 Windows: 4Apr 25 Linux: 0 Mac: 0 Windows: 2Apr 24 Linux: 1 Mac: 2 Windows: 4Apr 23 Linux: 2 Mac: 1 Windows: 1Apr 22 Linux: 0 Mac: 1 Windows: 1Apr 21 Linux: 2 Mac: 4 Windows: 2Apr 20 Linux: 3 Mac: 2 Windows: 1Apr 19 Linux: 1 Mac: 0 Windows: 0Apr 18 Linux: 1 Mac: 0 Windows: 0Apr 17 Linux: 0 Mac: 1 Windows: 1Apr 16 Linux: 3 Mac: 2 Windows: 2Apr 15 Linux: 0 Mac: 1 Windows: 1Apr 14 Linux: 0 Mac: 1 Windows: 0Apr 13 Linux: 1 Mac: 0 Windows: 1Apr 12 Linux: 1 Mac: 1 Windows: 0Apr 11 Linux: 1 Mac: 1 Windows: 0Apr 10 Linux: 1 Mac: 4 Windows: 0Apr 9 Linux: 1 Mac: 0 Windows: 1Apr 8 Linux: 2 Mac: 0 Windows: 1Apr 7 Linux: 1 Mac: 2 Windows: 1Apr 6 Linux: 0 Mac: 0 Windows: 1Apr 5 Linux: 0 Mac: 0 Windows: 6Apr 4 Linux: 0 Mac: 1 Windows: 0Apr 3 Linux: 5 Mac: 1 Windows: 2Apr 2 Linux: 1 Mac: 0 Windows: 2Apr 1 Linux: 1 Mac: 0 Windows: 0Mar 31 Linux: 1 Mac: 0 Windows: 3May 15 Linux: 0 Mac: 1 Windows: 1May 14 Linux: 0 Mac: 0 Windows: 2May 13 Linux: 0 Mac: 0 Windows: 2May 12 Linux: 0 Mac: 0 Windows: 1May 11 Linux: 3 Mac: 0 Windows: 1May 10 Linux: 2 Mac: 1 Windows: 2May 9 Linux: 1 Mac: 0 Windows: 2May 8 Linux: 0 Mac: 0 Windows: 2May 7 Linux: 3 Mac: 1 Windows: 0May 6 Linux: 0 Mac: 4 Windows: 1May 5 Linux: 2 Mac: 0 Windows: 0May 4 Linux: 2 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 1 Windows: 0May 1 Linux: 2 Mac: 0 Windows: 2Apr 30 Linux: 2 Mac: 0 Windows: 3Apr 29 Linux: 1 Mac: 0 Windows: 1Apr 28 Linux: 0 Mac: 0 Windows: 0Apr 27 Linux: 2 Mac: 1 Windows: 0Apr 26 Linux: 0 Mac: 0 Windows: 4Apr 25 Linux: 0 Mac: 0 Windows: 2Apr 24 Linux: 1 Mac: 2 Windows: 4Apr 23 Linux: 2 Mac: 1 Windows: 1Apr 22 Linux: 0 Mac: 1 Windows: 1Apr 21 Linux: 2 Mac: 4 Windows: 2Apr 20 Linux: 3 Mac: 2 Windows: 1Apr 19 Linux: 1 Mac: 0 Windows: 0Apr 18 Linux: 1 Mac: 0 Windows: 0Apr 17 Linux: 0 Mac: 1 Windows: 1Apr 16 Linux: 3 Mac: 2 Windows: 2Apr 15 Linux: 0 Mac: 1 Windows: 1Apr 14 Linux: 0 Mac: 1 Windows: 0Apr 13 Linux: 1 Mac: 0 Windows: 1Apr 12 Linux: 1 Mac: 1 Windows: 0Apr 11 Linux: 1 Mac: 1 Windows: 0Apr 10 Linux: 1 Mac: 4 Windows: 0Apr 9 Linux: 1 Mac: 0 Windows: 1Apr 8 Linux: 2 Mac: 0 Windows: 1Apr 7 Linux: 1 Mac: 2 Windows: 1Apr 6 Linux: 0 Mac: 0 Windows: 1Apr 5 Linux: 0 Mac: 0 Windows: 6Apr 4 Linux: 0 Mac: 1 Windows: 0Apr 3 Linux: 5 Mac: 1 Windows: 2Apr 2 Linux: 1 Mac: 0 Windows: 2Apr 1 Linux: 1 Mac: 0 Windows: 0Mar 31 Linux: 1 Mac: 0 Windows: 3May 15 Linux: 0 Mac: 1 Windows: 1May 14 Linux: 0 Mac: 0 Windows: 2May 13 Linux: 0 Mac: 0 Windows: 2May 12 Linux: 0 Mac: 0 Windows: 1May 11 Linux: 3 Mac: 0 Windows: 1May 10 Linux: 2 Mac: 1 Windows: 2May 9 Linux: 1 Mac: 0 Windows: 2May 8 Linux: 0 Mac: 0 Windows: 2May 7 Linux: 3 Mac: 1 Windows: 0May 6 Linux: 0 Mac: 4 Windows: 1May 5 Linux: 2 Mac: 0 Windows: 0May 4 Linux: 2 Mac: 0 Windows: 0May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 1 Windows: 0May 1 Linux: 2 Mac: 0 Windows: 2Apr 30 Linux: 2 Mac: 0 Windows: 3Apr 29 Linux: 1 Mac: 0 Windows: 1Apr 28 Linux: 0 Mac: 0 Windows: 0Apr 27 Linux: 2 Mac: 1 Windows: 0Apr 26 Linux: 0 Mac: 0 Windows: 4Apr 25 Linux: 0 Mac: 0 Windows: 2Apr 24 Linux: 1 Mac: 2 Windows: 4Apr 23 Linux: 2 Mac: 1 Windows: 1Apr 22 Linux: 0 Mac: 1 Windows: 1Apr 21 Linux: 2 Mac: 4 Windows: 2Apr 20 Linux: 3 Mac: 2 Windows: 1Apr 19 Linux: 1 Mac: 0 Windows: 0Apr 18 Linux: 1 Mac: 0 Windows: 0Apr 17 Linux: 0 Mac: 1 Windows: 1Apr 16 Linux: 3 Mac: 2 Windows: 2Apr 15 Linux: 0 Mac: 1 Windows: 1Apr 14 Linux: 0 Mac: 1 Windows: 0Apr 13 Linux: 1 Mac: 0 Windows: 1Apr 12 Linux: 1 Mac: 1 Windows: 0Apr 11 Linux: 1 Mac: 1 Windows: 0Apr 10 Linux: 1 Mac: 4 Windows: 0Apr 9 Linux: 1 Mac: 0 Windows: 1Apr 8 Linux: 2 Mac: 0 Windows: 1Apr 7 Linux: 1 Mac: 2 Windows: 1Apr 6 Linux: 0 Mac: 0 Windows: 1Apr 5 Linux: 0 Mac: 0 Windows: 6Apr 4 Linux: 0 Mac: 1 Windows: 0Apr 3 Linux: 5 Mac: 1 Windows: 2Apr 2 Linux: 1 Mac: 0 Windows: 2Apr 1 Linux: 1 Mac: 0 Windows: 0Mar 31 Linux: 1 Mac: 0 Windows: 3

Readme

Source
raw.​githubusercontent.​com

LSP-Dart

This is a helper package that automatically starts the Dart Analysis Server for you.

To use this package, you must have:

  • The LSP package.
  • A Dart syntax. Try Dartlight.
  • A Flutter SDK or a Dart SDK.

The language server is bundled inside the SDK. This package will attempt to utilize that fact. For this to work you must have FLUTTER_ROOT defined in your environment variables or DART_SDK defined in your environment variables. You can also define one of them in the "env" key of LSP-Dart.sublime-settings so that you can have different SDKs active per .sublime-project. Run the command

Preferences: LSP-Dart Settings

to set up the environment variables.

Applicable Selectors

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

Installation Location

This helper package doesn't install any binaries.

Server-specific commands

You can run

LSP-Dart: Goto Super

from the command palette to jump to a super class. The relevant command is lsp_dart_super in case you want to bind it to a keybinding.

Quirks

The language server is capable of “signature help”, but you have to trigger it manually. Run the command

Preferences: LSP Keybindings

to find out what the keybinding is to manually invoke “signature help”.

Capabilities

Dart Analysis Server can do a lot of cool things, like

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