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

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

Issue 2924633002: Remove unused IdeOptions (Closed)
Patch Set: reverse default Created 3 years, 6 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/ide_options.dart
diff --git a/pkg/analysis_server/lib/src/ide_options.dart b/pkg/analysis_server/lib/src/ide_options.dart
deleted file mode 100644
index 3d891109f0100092e9730c125f78cf49d974caa7..0000000000000000000000000000000000000000
--- a/pkg/analysis_server/lib/src/ide_options.dart
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
-// 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;
-}
-
-class IdeOptionsImpl implements IdeOptions {
- /// Initialize a newly created set of options with default values.
- IdeOptionsImpl();
-
- @override
- bool generateFlutterWidgetChildrenBoilerPlate = false;
-}

Powered by Google App Engine
This is Rietveld 408576698