You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`lsp-dart-sdk-dir`| The optional Dart SDK path. If nil and in a flutter project, it will try to find the dart SDK from Flutter SDK cache dir, otherwise it will search for a dart executable in `$PATH`. |`nil`|
169
-
|`lsp-dart-flutter-sdk-dir`| The optional Flutter SDK path. If nil, it will try to find the Flutter SDK from the `flutter` executable in `$PATH` and if not found, it will try in `$FLUTTER_ROOT`. |`nil`|
170
-
|`lsp-dart-server-command`|`analysis_server` executable to use | Check source file |
171
-
|`lsp-dart-enable-sdk-formatter`| Whether to enable server formatting. |`t`|
172
-
|`lsp-dart-line-length`| Line length used by server formatter. | 80 |
|`lsp-dart-sdk-dir`| The optional Dart SDK path. If nil and in a flutter project, it will try to find the dart SDK from Flutter SDK cache dir, otherwise it will search for a dart executable in `$PATH`. |`nil`|
171
+
|`lsp-dart-flutter-sdk-dir`| The optional Flutter SDK path. If nil, it will try to find the Flutter SDK from the `flutter` executable in `$PATH` and if not found, it will try in `$FLUTTER_ROOT`. |`nil`|
172
+
|`lsp-dart-server-command`|`analysis_server` executable to use | Check source file |
173
+
|`lsp-dart-enable-sdk-formatter`| Whether to enable server formatting. |`t`|
174
+
|`lsp-dart-line-length`| Line length used by server formatter. | 80 |
173
175
|`lsp-dart-extra-library-directories`| Extra libs to analyze besides Dart SDK libs |`'()`|
174
176
|`lsp-dart-only-analyze-projects-with-open-files`| Analysis will only be performed for projects that have open files rather than the root workspace folder |`t`|
175
177
|`lsp-dart-suggest-from-unimported-libraries`| Completion will not include symbols that are not already imported into the current file. |`t`|
@@ -178,7 +180,7 @@ You can also open the [Dart DevTools](https://dart.dev/tools/dart-devtools) on t
178
180
|`lsp-dart-closing-labels-size`| The font size factor to be multiplied by the closing labels font size | 0.9 |
179
181
|`lsp-dart-outline`| Enable the outline tree view feature on server lsp |`t`|
180
182
|`lsp-dart-outline-position-params`| The outline tree position params. | Left side |
181
-
|`lsp-dart-flutter-outline`| Whether to enable the Flutter outline tree view feature on server lsp |`t`|
183
+
|`lsp-dart-flutter-outline`| Whether to enable the Flutter outline tree view feature on server lsp |`t`|
182
184
|`lsp-dart-flutter-outline-position-params`| The Flutter outline tree position params | Left side |
183
185
|`lsp-dart-flutter-fringe-colors`| Enable the Flutter colors on fringe. |`t`|
184
186
|`lsp-dart-flutter-widget-guides`| Enable the Flutter widget guide lines from parent to child widgets |`t`|
@@ -196,14 +198,15 @@ You can also open the [Dart DevTools](https://dart.dev/tools/dart-devtools) on t
196
198
|`lsp-dart-dap-flutter-track-widget-creation`| Whether to pass –track-widget-creation to Flutter apps. Required to support 'Inspect Widget'. |`t`|
197
199
|`lsp-dart-dap-flutter-structured-errors`| Whether to use Flutter’s structured error support for improve error display. |`t`|
198
200
|`lsp-dart-dap-flutter-verbose-log`| Whether to enable verbose logs from Flutter DAP |`nil`|
201
+
|`lsp-dart-dap-flutter-hot-reload-on-save`| When enabled, every buffer save triggers a `lsp-dart-dap-flutter-hot-reload`|`nil`|
202
+
|`lsp-dart-dap-flutter-hot-restart-on-save`| When enabled, every buffer save triggers a `lsp-dart-dap-flutter-hot-restart`|`nil`|
199
203
|`lsp-dart-devtools-theme`| The devtools theme when openning via `lsp-dart-dap-open-devtools`|`"dark"`|
200
204
|`lsp-dart-devtools-hide-options`| What to hide when openning DevTools via `lsp-dart-dap-open-devtools`|`debugger`|
201
205
202
206
## Additional packages
203
207
*[lsp-ui](https://github.com/emacs-lsp/lsp-ui) : Flycheck, documentation and code actions support.
204
208
*[lsp-treemacs](https://github.com/emacs-lsp/lsp-treemacs) : `lsp-mode` GUI controls implemented using treemacs.
*[hover.el](https://github.com/ericdallo/hover.el) : Tool to run flutter mobile apps from desktop without the need of an emulator.
208
211
209
212
## FAQ
@@ -219,9 +222,10 @@ You can also open the [Dart DevTools](https://dart.dev/tools/dart-devtools) on t
219
222
220
223
:grey_question:`LSP :: No LSP server for dart-mode(check *lsp-log*).`
221
224
222
-
: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/`.
225
+
:small_blue_diamond: Try to set the `lsp-dart-sdk-dir` to the Dart SDK dir installation or if you are using Flutter, `<your-flutter-dir>/bin/cache/dart-sdk/`.
223
226
224
227
## Community
228
+
225
229
All feedback and suggestions are very welcome!
226
230
227
-
You can [open a issue](https://github.com/emacs-lsp/lsp-dart/issues/new/choose) or for a quick anwser, send a message on [Gitter](https://gitter.im/emacs-lsp/lsp-mode).
231
+
You can [open a issue](https://github.com/emacs-lsp/lsp-dart/issues/new/choose) or for a quick answer, send a message on [Gitter](https://gitter.im/emacs-lsp/lsp-mode).
0 commit comments