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
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.
This language server operates on views with the
source.dart base scope.
This helper package doesn't install any binaries.
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.
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".
Dart Analysis Server can do a lot of cool things, like
- code completion
- signature help
- hover info
- some quality code actions
- find references
- goto def