Skip to content

Commit a2c3021

Browse files
committed
Bump dap extension 3.14.1 -> 3.17.0
1 parent eb0b765 commit a2c3021

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

lsp-dart-dap.el

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@
2929
(require 'lsp-dart-flutter-daemon)
3030
(require 'lsp-dart-devtools)
3131

32-
(defcustom lsp-dart-dap-extension-version "3.14.1"
32+
(defcustom lsp-dart-dap-extension-version "3.17.0"
3333
"The extension version."
3434
:group 'lsp-dart
3535
:type 'string)
3636

3737
(defcustom lsp-dart-dap-debugger-path
38-
(expand-file-name "vscode/Dart-Code.Dart-Code"
38+
(expand-file-name (concat "vscode/Dart-Code.Dart-Code/" lsp-dart-dap-extension-version)
3939
dap-utils-extension-path)
4040
"The path to dart vscode extension."
4141
:group 'lsp-dart
@@ -143,21 +143,16 @@ Required to support 'Inspect Widget'."
143143
"Return the base args for debugging merged with CONF."
144144
(let ((conf conf))
145145
(dap--put-if-absent conf :request "launch")
146-
(dap--put-if-absent conf :dartPath (lsp-dart-dart-command))
147-
(dap--put-if-absent conf :dartVersion (lsp-dart-get-dart-version))
148-
(dap--put-if-absent conf :sendLogsToClient t)
146+
(dap--put-if-absent conf :dartSdkPath (lsp-dart-get-sdk-dir))
149147
(dap--put-if-absent conf :maxLogLineLength lsp-dart-dap-max-log-line-length)
150148
(dap--put-if-absent conf :cwd (lsp-dart-get-project-root))
151-
(dap--put-if-absent conf :pubPath (lsp-dart-pub-command))
152-
(dap--put-if-absent conf :pubSnapshotPath (lsp-dart-pub-snapshot-command))
153149
(dap--put-if-absent conf :vmAdditionalArgs lsp-dart-dap-vm-additional-args)
154150
(dap--put-if-absent conf :vmServicePort lsp-dart-dap-vm-service-port)
155151
(dap--put-if-absent conf :debugExternalLibraries lsp-dart-dap-debug-external-libraries)
156152
(dap--put-if-absent conf :debugSdkLibraries lsp-dart-dap-debug-sdk-libraries)
157153
(dap--put-if-absent conf :evaluateGettersInDebugViews lsp-dart-dap-evaluate-getters-in-debug-views)
158154
(dap--put-if-absent conf :evaluateToStringInDebugViews lsp-dart-dap-evaluate-tostring-in-debug-views)
159-
(dap--put-if-absent conf :flutterPath (lsp-dart-flutter-command))
160-
(dap--put-if-absent conf :flutterVersion (lsp-dart-get-flutter-version))
155+
(dap--put-if-absent conf :flutterSdkPath (lsp-dart-get-flutter-sdk-dir))
161156
(dap--put-if-absent conf :flutterTrackWidgetCreation lsp-dart-dap-flutter-track-widget-creation)
162157
(dap--put-if-absent conf :useFlutterStructuredErrors lsp-dart-dap-flutter-structured-errors)
163158
(lsp-dart-dap--capabilities-debugger-args conf)))

0 commit comments

Comments
 (0)