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

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

Issue 2542673002: Show priority files on the status page. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/driver.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/status/get_handler2.dart
diff --git a/pkg/analysis_server/lib/src/status/get_handler2.dart b/pkg/analysis_server/lib/src/status/get_handler2.dart
index 8bd958ece72906bc59c71e76af0372cc0c865ea3..2541deb1cbc394de5a8851a8d667047ca51ee4cf 100644
--- a/pkg/analysis_server/lib/src/status/get_handler2.dart
+++ b/pkg/analysis_server/lib/src/status/get_handler2.dart
@@ -383,8 +383,7 @@ class GetHandler2 implements AbstractGetHandler {
driver = analysisServer.driverMap[folder];
}
- // TODO(scheglov) Show priority files.
-// List<String> priorityNames = <String>[];
+ List<String> priorityFiles = driver.priorityFiles;
List<String> addedFiles = driver.addedFiles.toList();
List<String> implicitFiles =
driver.knownFiles.difference(driver.addedFiles).toList();
@@ -517,9 +516,8 @@ class GetHandler2 implements AbstractGetHandler {
}
}
- // TODO(scheglov) Show priority files.
-// _writeFiles(
-// buffer, 'Priority Files (${priorityNames.length})', priorityNames);
+ _writeFiles(
+ buffer, 'Priority Files (${priorityFiles.length})', priorityFiles);
_writeFiles(buffer, 'Added Files (${addedFiles.length})', addedFiles);
_writeFiles(
buffer,
« no previous file with comments | « no previous file | pkg/analyzer/lib/src/dart/analysis/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698