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

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

Issue 2768003003: IdeOptions awareness for Driver (for access via IDEA registry). (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 | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/server/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/ide_options.dart
diff --git a/pkg/analysis_server/lib/src/ide_options.dart b/pkg/analysis_server/lib/src/ide_options.dart
index cf28dcec43341ca1dda051501d38d95cb25c2fcc..3d891109f0100092e9730c125f78cf49d974caa7 100644
--- a/pkg/analysis_server/lib/src/ide_options.dart
+++ b/pkg/analysis_server/lib/src/ide_options.dart
@@ -2,8 +2,14 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
+import 'package:analysis_server/src/analysis_server.dart';
+
/// A set of options used to configure the behavior of IDE functionality.
abstract class IdeOptions {
+ factory IdeOptions.from(AnalysisServerOptions options) => new IdeOptionsImpl()
+ ..generateFlutterWidgetChildrenBoilerPlate =
+ options.enableVerboseFlutterCompletions;
+
/// Whether to generate boilerplate for lists of Flutter Widget children.
/// See: https://github.com/flutter/flutter-intellij/issues/463
bool get generateFlutterWidgetChildrenBoilerPlate;
« no previous file with comments | « pkg/analysis_server/lib/src/analysis_server.dart ('k') | pkg/analysis_server/lib/src/server/driver.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698