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

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

Issue 2765063002: Introducing `IdeOptions`. (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/ide_options.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8fe0d1849b65ba0c7bab8b4a20c652f23e2457cb..b440939d35131ed11401dae1f6570b126887bac5 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -23,6 +23,7 @@ import 'package:analysis_server/src/domains/analysis/navigation.dart';
import 'package:analysis_server/src/domains/analysis/navigation_dart.dart';
import 'package:analysis_server/src/domains/analysis/occurrences.dart';
import 'package:analysis_server/src/domains/analysis/occurrences_dart.dart';
+import 'package:analysis_server/src/ide_options.dart';
import 'package:analysis_server/src/operation/operation.dart';
import 'package:analysis_server/src/operation/operation_analysis.dart';
import 'package:analysis_server/src/operation/operation_queue.dart';
@@ -111,6 +112,11 @@ class AnalysisServer {
static int performOperationDelayFrequency = 25;
/**
+ * IDE options for this server instance.
+ */
+ IdeOptions ideOptions;
+
+ /**
* The options of this server instance.
*/
AnalysisServerOptions options;
@@ -461,6 +467,7 @@ class AnalysisServer {
channel.sendNotification(notification);
channel.listen(handleRequest, onDone: done, onError: error);
handlers = serverPlugin.createDomains(this);
+ ideOptions = new IdeOptionsImpl();
}
/**
@@ -529,11 +536,6 @@ class AnalysisServer {
_onContextsChangedController.stream;
/**
- * The stream that is notified when a single file has been analyzed.
- */
- Stream get onFileAnalyzed => _onFileAnalyzedController.stream;
-
- /**
* The stream that is notified when a single file has been added. This exists
* as a temporary stopgap for plugins, until the official plugin API is
* complete.
@@ -541,6 +543,11 @@ class AnalysisServer {
Stream get onFileAdded => _onFileAddedController.stream;
/**
+ * The stream that is notified when a single file has been analyzed.
+ */
+ Stream get onFileAnalyzed => _onFileAnalyzedController.stream;
+
+ /**
* The stream that is notified when a single file has been changed. This
* exists as a temporary stopgap for plugins, until the official plugin API is
* complete.
« no previous file with comments | « no previous file | pkg/analysis_server/lib/src/ide_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698