Skip to content

Commit 4a93462

Browse files
committed
Improve lsp-dart-flutter-outline performance a lot, requesting code actions lazily
1 parent f01b053 commit 4a93462

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
* Add support for specifying different program entrypoints via variable `lsp-dart-program-entrypoints` used by DAP for example.
66
* Drop support for Eamcs 26.1 and 26.2
7+
* Improve lsp-dart-flutter-outline performance a lot, requesting code actions lazily.
78

89
## 1.20.0
910

lsp-dart-outline.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,8 +184,9 @@ OUTLINES are the outline items."
184184
(unless (seq-empty-p children)
185185
(lsp-dart-outline--flutter-outline->tree uri children)))
186186
:ret-action (lambda (&rest _) (lsp-dart-outline--outline-tree-ret-action uri code-range))
187-
:actions (when widget?
188-
(lsp-dart-outline--build-flutter-outline-widget-actions uri code-range))
187+
:actions (lambda (&rest _)
188+
(when widget?
189+
(lsp-dart-outline--build-flutter-outline-widget-actions uri code-range)))
189190
:uri uri)))
190191
outlines))
191192

0 commit comments

Comments
 (0)