emacs-prelude/docs/modules/dart.md

24 lines
644 B
Markdown
Raw Normal View History

2020-08-23 08:39:15 +03:00
# Prelude Dart
!!! Note
This module builds on top of the lsp-module.
2020-10-09 16:46:21 +03:00
The dart module is powered by [lsp-dart](https://emacs-lsp.github.io/lsp-dart/).
2020-08-23 08:39:15 +03:00
Some features it provides:
2020-10-09 16:46:21 +03:00
2020-08-23 08:39:15 +03:00
- Flutter integration
- Tree views
- Run pub
- Debug
- Run tests
2020-10-09 16:46:21 +03:00
Some essential commands:
- `lsp-dart-pub-get` - Run pub get or flutter pub get on project root.
- `lsp-dart-pub-upgrade` - Run pub upgrade or flutter pub upgrade on project root.
- `lsp-dart-pub-outdated` - Run pub outdated or flutter pub outdated on project root.
- `lsp-dart-run-all-tests` - Run all tests from project.
- `lsp-dart-run-test-file` - Run all tests from current test buffer.