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

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

Issue 2865403005: Remove an obsolete error from the spec and an obsolete command-line flag (Closed)
Patch Set: Created 3 years, 7 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/server/driver.dart
diff --git a/pkg/analysis_server/lib/src/server/driver.dart b/pkg/analysis_server/lib/src/server/driver.dart
index ca42c591aab627ae730210618839f7ab51c08d1d..ec0c93e9bcaa987fda530a936f2741547f982d80 100644
--- a/pkg/analysis_server/lib/src/server/driver.dart
+++ b/pkg/analysis_server/lib/src/server/driver.dart
@@ -278,11 +278,6 @@ class Driver implements ServerStarter {
'verbose-flutter-completions';
/**
- * The name of the flag used to disable the index.
- */
- static const String NO_INDEX = "no-index";
-
- /**
* The name of the flag used to enable version 2 of semantic highlight
* notification.
*/
@@ -391,7 +386,6 @@ class Driver implements ServerStarter {
results[INCREMENTAL_RESOLUTION_VALIDATION];
analysisServerOptions.enableNewAnalysisDriver =
!results[DISABLE_NEW_ANALYSIS_DRIVER];
- analysisServerOptions.noIndex = results[NO_INDEX];
analysisServerOptions.useAnalysisHighlight2 =
results[USE_ANALYSIS_HIGHLIGHT2];
analysisServerOptions.fileReadMode = results[FILE_READ_MODE];
@@ -568,8 +562,6 @@ class Driver implements ServerStarter {
" status and performance information");
parser.addOption(INTERNAL_DELAY_FREQUENCY);
parser.addOption(SDK_OPTION, help: "[path] the path to the sdk");
- parser.addFlag(NO_INDEX,
- help: "disable indexing sources", defaultsTo: false, negatable: false);
parser.addFlag(USE_ANALYSIS_HIGHLIGHT2,
help: "enable version 2 of semantic highlight",
defaultsTo: false,
« no previous file with comments | « pkg/analysis_server/lib/src/search/search_domain.dart ('k') | pkg/analysis_server/lib/src/socket_server.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698