File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ * Understand by default that dart codes inside ` ~/.pub-cache ` are libraries and not projects, avoiding asking to import the project.
6+ * Avoid warnings about "No event handler for 'debug' during dap-debug tests".
7+
58## 1.24.0
69
710* Handle ` flutter.appStarted ` notification during debug.
Original file line number Diff line number Diff line change @@ -159,6 +159,9 @@ NOTIFICATION is the event notification.")
159159 " Handle error NOTIFICATION."
160160 (run-hook-with-args 'lsp-dart-test-error-notification-hook notification))
161161
162+ (cl-defmethod lsp-dart-test--handle-notification ((_event (eql debug)) _notification)
163+ " Ignore this event" )
164+
162165(defun lsp-dart-test--clean-process-buffer ()
163166 " Clean test process buffer."
164167 (when-let (process-buffer (get-buffer lsp-dart-test--process-buffer-name))
Original file line number Diff line number Diff line change 5454 :type '(repeat string)
5555 :group 'lsp-dart )
5656
57- (defcustom lsp-dart-extra-library-directories '( )
57+ (defcustom lsp-dart-extra-library-directories ( list ( expand-file-name " ~/.pub-cache " ) )
5858 " List of directories which will be considered to be libraries."
5959 :risky t
6060 :type '(repeat string)
You can’t perform that action at this time.
0 commit comments