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
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,9 @@ Display widget guide lines from parent to child widgets on flutter. [:warning:*]
104
104
105
105
You can disable the feature setting `lsp-dart-flutter-widget-guides` to `nil`.
106
106
107
-
### Debug
107
+
### Run or Debug
108
+
109
+
To run your app you can use `lsp-dart-run` which will use `dap-mode` but for running without debug. to pass custom arguments it's possible to pass a prefix-argument with arguments separated by space.
108
110
109
111
For debugging, `lsp-dart` uses [`dap-mode`](https://github.com/emacs-lsp/dap-mode#dart).
110
112
You only need to run `lsp-dart-dap-setup` one time to setup the debugger to your Emacs and `dap-debug` to start the debug.
@@ -176,7 +178,7 @@ lsp-dart supports running Flutter and Dart commands as following:
176
178
|`lsp-dart-show-todos`| Whether to generate diagnostics for TODO comments. If unspecified, diagnostics will not be generated. |`nil`|
177
179
|`lsp-dart-complete-function-calls`| Completes functions/methods with their required parameters. |`t`|
178
180
|`lsp-dart-extra-library-directories`| Extra libs to analyze besides Dart SDK libs |`'()`|
179
-
|`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 |`nil`|
181
+
|`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 |`nil`|
180
182
|`lsp-dart-suggest-from-unimported-libraries`| Completion will not include symbols that are not already imported into the current file. |`t`|
181
183
|`lsp-dart-closing-labels`| Enable the closing labels feature on server lsp |`t`|
182
184
|`lsp-dart-closing-labels-prefix`| The prefix string to be concatenated with the closing label |`""`|
@@ -205,7 +207,7 @@ lsp-dart supports running Flutter and Dart commands as following:
205
207
|`lsp-dart-dap-vm-additional-args`| Additional args for dart debugging VM when the debugging. |`""`|
206
208
|`lsp-dart-dap-flutter-track-widget-creation`| Whether to pass –track-widget-creation to Flutter apps. Required to support 'Inspect Widget'. |`t`|
207
209
|`lsp-dart-dap-flutter-structured-errors`| Whether to use Flutter’s structured error support for improve error display. |`t`|
208
-
|`lsp-dart-dap-flutter-verbose-log`| Whether to enable verbose logs from Flutter DAP|`nil`|
210
+
|`lsp-dart-dap-only-essential-log`| Whether to logs only essential log |`nil`|
209
211
|`lsp-dart-dap-flutter-hot-reload-on-save`| When enabled, every buffer save triggers a `lsp-dart-dap-flutter-hot-reload`|`nil`|
210
212
|`lsp-dart-dap-flutter-hot-restart-on-save`| When enabled, every buffer save triggers a `lsp-dart-dap-flutter-hot-restart`|`nil`|
211
213
|`lsp-dart-devtools-theme`| The devtools theme when openning via `lsp-dart-dap-open-devtools`|`"dark"`|
0 commit comments