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