-
Notifications
You must be signed in to change notification settings - Fork 340
Closed
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
When testing Augmentation/Augmented CodeLens, I frequently see 5s delays in being able to interact with them. This appears to be caused by the main CodeLens provider taking a long time.
This happens because of the wait here:
| const outline = await this.analyzer.fileTracker.waitForOutlineWithLength(document.uri, expectedLength, token); |
We should remove this wait and instead return no items if the outline isn't ready, and schedule a (one-time) refresh of CodeLens once the outline updates.
Metadata
Metadata
Assignees
Labels
in editorRelates to code editing or language featuresRelates to code editing or language featuresis bugrelies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available