Skip to content

Commit ea38c32

Browse files
authored
Update README.md
1 parent 6f893ad commit ea38c32

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

README.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
Emacs Dart IDE using [lsp-mode](https://github.com/emacs-lsp/lsp-mode) to connect to [Dart Analysis Server](https://github.com/dart-lang/sdk/tree/master/pkg/analysis_server).
66

7+
<img width="22" alt="flutter_logo" align="top" src="https://user-images.githubusercontent.com/7820865/78991346-1aa57b80-7b0f-11ea-9992-25cd1a9ac974.png"> If you want to work with [Flutter](https://flutter.dev/), there are other packages that may help. See [Additional packages](#additional-packages) for more info.
8+
79
## Quickstart
810

911
An example with a minimal configuration to start using `lsp-dart`:
@@ -17,18 +19,15 @@ An example with a minimal configuration to start using `lsp-dart`:
1719
:hook (dart-mode . lsp))
1820
```
1921

20-
<img width="22" alt="flutter_logo" src="https://user-images.githubusercontent.com/7820865/78991346-1aa57b80-7b0f-11ea-9992-25cd1a9ac974.png"> If you want to work with [Flutter](https://flutter.dev/), there are other packages that may help. See [Additional packages](#additional-packages) for more info.
21-
2222
## Features
23-
Besides the lsp-mode features, lsp-dart implements the custom methods features from the dart_analysis_server too.
2423

2524
Besides the `lsp-mode` features, `lsp-dart` implements the [custom methods features from the `dart_analysis_server` ](https://github.com/dart-lang/sdk/blob/master/pkg/analysis_server/tool/lsp_spec/README.md#custom-methods).
2625

27-
**Closing labels**
26+
### Closing labels
2827

2928
![closing-labels](https://github.com/emacs-lsp/lsp-dart/blob/master/screenshots/closing-labels.png)
3029

31-
### Treemacs views
30+
### Tree views
3231
`lsp-dart` uses `lsp-treemacs` for rendering some tree views features.
3332

3433
**`lsp-dart-show-outline`**
@@ -62,10 +61,14 @@ Besides the `lsp-mode` features, `lsp-dart` implements the [custom methods featu
6261

6362
## FAQ
6463

65-
* :grey_question: Emacs can't find my package, it keeps searching up until the dart root package folder.
64+
:grey_question: Emacs can't find my package, it keeps searching up until the dart root package folder.
6665

67-
Configure projectile to find the package pubspec.yaml and set the folder as project root:
66+
:small_blue_diamond: Configure projectile to find the package pubspec.yaml and set the folder as project root:
6867
```elisp
6968
(with-eval-after-load 'projectile
7069
(add-to-list 'projectile-project-root-files-bottom-up "pubspec.yaml"))
7170
```
71+
72+
:grey_question: `LSP :: No LSP server for dart-mode(check *lsp-log*).`
73+
74+
:small_blue_diamond: Try to set the `lsp-dart-sdk-dir` to the Dart SDK dir instalation or if you are using Flutter, `<your-flutter-dir>/bin/cache/dart-sdk/`.

0 commit comments

Comments
 (0)