LSP-Dart
Convenience plugin for the Dart Analysis Server, bundled in the Dart SDK
Details
Installs
- Total 4K
- Win 2K
- Mac 1K
- Linux 1K
| Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 1 | 1 | 0 | 0 | 0 | 0 | 3 | 0 | 1 | 0 | 1 | 2 | 3 | 1 | 2 | 1 | 0 | 0 | 1 | 1 | 3 | 0 | 1 | 2 | 0 | 0 | 1 | 1 | 2 | 3 | 2 | 1 | 1 | 5 | 2 | 1 | 2 | 3 | 0 | 1 | 0 | 3 | 2 | 0 | 0 | 1 |
| Mac | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 2 | 4 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 |
| Linux | 2 | 1 | 0 | 0 | 3 | 3 | 4 | 1 | 0 | 2 | 1 | 0 | 1 | 0 | 2 | 0 | 0 | 1 | 1 | 2 | 1 | 1 | 0 | 1 | 2 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 3 | 0 | 2 | 1 | 0 | 2 | 0 | 3 | 2 | 1 | 1 | 0 | 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 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