Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(215)

Unified Diff: pkg/analysis_server/lib/src/analysis_server.dart

Issue 2612723002: Implement 'analysis.analyzedFiles' notification with the new analysis driver. (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index da0500e8ca8d6905f01e845abc75d6c0bf0e3243..771f9f1293c1b6008d4b96aa1b8e11b2feba5ee3 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -1172,6 +1172,13 @@ class AnalysisServer {
_onAnalysisCompleteCompleter.complete();
_onAnalysisCompleteCompleter = null;
}
+ // Perform on-idle actions.
+ if (!status.isAnalyzing) {
+ if (generalAnalysisServices
+ .contains(GeneralAnalysisService.ANALYZED_FILES)) {
+ sendAnalysisNotificationAnalyzedFiles(this);
+ }
+ }
// Only send status when subscribed.
if (!serverServices.contains(ServerService.STATUS)) {
return;

Powered by Google App Engine
This is Rietveld 408576698