File tree Expand file tree Collapse file tree 7 files changed +35
-10
lines changed Expand file tree Collapse file tree 7 files changed +35
-10
lines changed Original file line number Diff line number Diff line change 11
11
jobs :
12
12
test :
13
13
runs-on : ${{ matrix.os }}
14
+ continue-on-error : ${{ matrix.experimental }}
14
15
strategy :
15
16
fail-fast : false
16
17
matrix :
17
18
os : [ubuntu-latest, macos-latest, windows-latest]
18
19
emacs-version :
19
- - 27.1
20
20
- 27.2
21
- - 28.1
22
- - snapshot
21
+ - 28.2
22
+ - 29.1
23
+ experimental : [false]
24
+ include :
25
+ - os : ubuntu-latest
26
+ emacs-version : snapshot
27
+ experimental : true
28
+ - os : macos-latest
29
+ emacs-version : snapshot
30
+ experimental : true
31
+ - os : windows-latest
32
+ emacs-version : snapshot
33
+ experimental : true
23
34
24
35
steps :
25
36
- uses : actions/checkout@v3
Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
- ## Unreleased
3
+ ## 1.24.3
4
+
5
+ * Add ` lsp-dart-dap-tools-args ` to configure custom args for DAP process.
6
+ * Fix flutter daemon failing to initialize on recent emacs versions. #209
7
+ * Ignore flutter DAP message avoiding unecessary warning during debug.
4
8
5
9
## 1.24.2
6
10
Original file line number Diff line number Diff line change 1
- (package "lsp-dart" "1.24.2 " "Dart support lsp-mode")
1
+ (package "lsp-dart" "1.24.3 " "Dart support lsp-mode")
2
2
3
3
(website-url "https://emacs-lsp.github.io/lsp-dart")
4
4
(keywords "languages" "extensions")
Original file line number Diff line number Diff line change @@ -203,7 +203,8 @@ lsp-dart supports running Flutter and Dart commands as following:
203
203
| ` lsp-dart-dap-flutter-test-debugger-program ` | The command to execute the test debugger extension on flutter projects. | Check source file |
204
204
| ` lsp-dart-dap-debug-external-libraries ` | Whether to enable the debug on external libraries | ` nil ` |
205
205
| ` lsp-dart-dap-debug-sdk-libraries ` | Whether to enable the debug on Dart SDK libraries | ` nil ` |
206
- | ` lsp-dart-dap-vm-additional-args ` | Additional args for dart debugging VM when the debugging. | ` "" ` |
206
+ | ` lsp-dart-dap-vm-additional-args ` | Additional args for dart debugging VM when the debugging.
207
+ | ` lsp-dart-dap-tool-args ` | Arguments to be passed to the Dart or Flutter tool. | ` "" ` |
207
208
| ` lsp-dart-dap-flutter-track-widget-creation ` | Whether to pass –track-widget-creation to Flutter apps. Required to support 'Inspect Widget'. | ` t ` |
208
209
| ` lsp-dart-dap-flutter-structured-errors ` | Whether to use Flutter’s structured error support for improve error display. | ` t ` |
209
210
| ` lsp-dart-dap-flutter-hot-reload-on-save ` | When enabled, every buffer save triggers a ` lsp-dart-dap-flutter-hot-reload ` | ` nil ` |
@@ -216,6 +217,7 @@ lsp-dart supports running Flutter and Dart commands as following:
216
217
* [ lsp-treemacs] ( https://github.com/emacs-lsp/lsp-treemacs ) : ` lsp-mode ` GUI controls implemented using treemacs.
217
218
* [ company-capf] ( https://github.com/company-mode/company-mode ) : Completion back-end support.
218
219
* [ hover.el] ( https://github.com/ericdallo/hover.el ) : Tool to run flutter mobile apps from desktop without the need of an emulator.
220
+ * [ flutter.el] ( https://github.com/amake/flutter.el ) : Tool to run flutter binary as an inferior process and interact with it from Emacs.
219
221
220
222
## FAQ
221
223
Original file line number Diff line number Diff line change 101
101
:group 'lsp-dart
102
102
:type '(repeat string))
103
103
104
+ (defcustom lsp-dart-dap-tool-args []
105
+ " Additional args for the dart or flutter tool"
106
+ :group 'lsp-dart
107
+ :type '(repeat string))
108
+
104
109
(defcustom lsp-dart-dap-vm-service-port 0
105
110
" Service port for dart debugging VM."
106
111
:group 'lsp-dart
@@ -164,6 +169,7 @@ Required to support 'Inspect Widget'."
164
169
(dap--put-if-absent conf :maxLogLineLength lsp-dart-dap-max-log-line-length)
165
170
(dap--put-if-absent conf :cwd (lsp-dart-get-project-root))
166
171
(dap--put-if-absent conf :vmAdditionalArgs lsp-dart-dap-vm-additional-args)
172
+ (dap--put-if-absent conf :toolArgs lsp-dart-dap-tool-args)
167
173
(dap--put-if-absent conf :vmServicePort lsp-dart-dap-vm-service-port)
168
174
(dap--put-if-absent conf :debugExternalLibraries lsp-dart-dap-debug-external-libraries)
169
175
(dap--put-if-absent conf :debugSdkLibraries lsp-dart-dap-debug-sdk-libraries)
@@ -374,6 +380,8 @@ Call CALLBACK when the device is chosen and started successfully."
374
380
" Ignore this event." )
375
381
(cl-defmethod dap-handle-event ((_event (eql flutter.appStarted)) _session _params)
376
382
" Ignore this event." )
383
+ (cl-defmethod dap-handle-event ((_event (eql flutter.appStart)) _session _params)
384
+ " Ignore this event." )
377
385
378
386
(cl-defmethod dap-handle-event ((_event (eql dart.testRunNotification)) _session _params)
379
387
" Ignore this event." )
Original file line number Diff line number Diff line change @@ -60,9 +60,8 @@ CONN ARGS METHOD PARAMS"
60
60
(jsonrpc--process conn)
61
61
json)))
62
62
63
- (cl-defmethod initialize-instance ((conn lsp-dart-flutter-daemon-connection) _slots)
63
+ (cl-defmethod initialize-instance :after ((conn lsp-dart-flutter-daemon-connection) _slots)
64
64
" CONN."
65
- (cl-call-next-method )
66
65
(let ((proc (jsonrpc--process conn)))
67
66
(when proc
68
67
(set-process-filter proc #'lsp-dart-flutter-daemon--process-filter ))))
Original file line number Diff line number Diff line change 2
2
3
3
; ; Copyright (C) 2022 Eric Dallo
4
4
5
- ; ; Version: 1.24.2
5
+ ; ; Version: 1.24.3
6
6
; ; Package-Requires: ((emacs "27.1") (lsp-treemacs "0.3") (lsp-mode "7.0.1") (dap-mode "0.6") (f "0.20.0") (dash "2.14.1") (dart-mode "1.0.5") (jsonrpc "1.0.15") (ht "2.2"))
7
+
7
8
; ; Keywords: languages, extensions
8
9
; ; URL: https://emacs-lsp.github.io/lsp-dart
9
10
@@ -99,7 +100,7 @@ If unspecified, diagnostics will not be generated."
99
100
100
101
; ;; Internal
101
102
102
- (defvar lsp-dart-version-string " 1.24.2 " )
103
+ (defvar lsp-dart-version-string " 1.24.3 " )
103
104
104
105
(defun lsp-dart--library-folders ()
105
106
" Return the library folders path to analyze."
You can’t perform that action at this time.
0 commit comments