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

Side by Side Diff: pkg/analysis_server/lib/src/server/driver.dart

Issue 2912573002: Log the analysis options path. (Closed)
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:io'; 6 import 'dart:io';
7 import 'dart:math'; 7 import 'dart:math';
8 8
9 import 'package:analysis_server/src/analysis_server.dart'; 9 import 'package:analysis_server/src/analysis_server.dart';
10 import 'package:analysis_server/src/plugin/server_plugin.dart'; 10 import 'package:analysis_server/src/plugin/server_plugin.dart';
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 parser.addFlag(ENABLE_INCREMENTAL_RESOLUTION_API, 525 parser.addFlag(ENABLE_INCREMENTAL_RESOLUTION_API,
526 help: "enable using incremental resolution for API changes", 526 help: "enable using incremental resolution for API changes",
527 defaultsTo: false, 527 defaultsTo: false,
528 negatable: false); 528 negatable: false);
529 parser.addFlag(ENABLE_INSTRUMENTATION_OPTION, 529 parser.addFlag(ENABLE_INSTRUMENTATION_OPTION,
530 help: "enable sending instrumentation information to a server", 530 help: "enable sending instrumentation information to a server",
531 defaultsTo: false, 531 defaultsTo: false,
532 negatable: false); 532 negatable: false);
533 parser.addFlag(HELP_OPTION, 533 parser.addFlag(HELP_OPTION,
534 help: "print this help message without starting a server", 534 help: "print this help message without starting a server",
535 abbr: 'h',
535 defaultsTo: false, 536 defaultsTo: false,
536 negatable: false); 537 negatable: false);
537 parser.addOption(INCREMENTAL_RESOLUTION_LOG, 538 parser.addOption(INCREMENTAL_RESOLUTION_LOG,
538 help: "set a destination for the incremental resolver's log"); 539 help: "set a destination for the incremental resolver's log");
539 parser.addFlag(INCREMENTAL_RESOLUTION_VALIDATION, 540 parser.addFlag(INCREMENTAL_RESOLUTION_VALIDATION,
540 help: "enable validation of incremental resolution results (slow)", 541 help: "enable validation of incremental resolution results (slow)",
541 defaultsTo: false, 542 defaultsTo: false,
542 negatable: false); 543 negatable: false);
543 parser.addFlag(DISABLE_NEW_ANALYSIS_DRIVER, 544 parser.addFlag(DISABLE_NEW_ANALYSIS_DRIVER,
544 help: "disable using new analysis driver", 545 help: "disable using new analysis driver",
545 defaultsTo: false, 546 defaultsTo: false,
546 negatable: false); 547 negatable: false);
547 parser.addOption(INSTRUMENTATION_LOG_FILE, 548 parser.addOption(INSTRUMENTATION_LOG_FILE,
548 help: 549 help:
549 "the path of the file to which instrumentation data will be written" ); 550 "the path of the file to which instrumentation data will be written" );
550 parser.addFlag(INTERNAL_PRINT_TO_CONSOLE, 551 parser.addFlag(INTERNAL_PRINT_TO_CONSOLE,
551 help: "enable sending `print` output to the console", 552 help: "enable sending `print` output to the console",
552 defaultsTo: false, 553 defaultsTo: false,
553 negatable: false); 554 negatable: false);
554 parser.addOption(NEW_ANALYSIS_DRIVER_LOG, 555 parser.addOption(NEW_ANALYSIS_DRIVER_LOG,
555 help: "set a destination for the new analysis driver's log"); 556 help: "set a destination for the new analysis driver's log");
556 parser.addFlag(VERBOSE_FLUTTER_COMPLETIONS, 557 parser.addFlag(VERBOSE_FLUTTER_COMPLETIONS,
558 negatable: false,
557 help: "enable verbose code completion for Flutter (experimental)"); 559 help: "enable verbose code completion for Flutter (experimental)");
558 parser.addOption(PORT_OPTION, 560 parser.addOption(PORT_OPTION,
559 help: "the http diagnostic port on which the server provides" 561 help: "the http diagnostic port on which the server provides"
560 " status and performance information"); 562 " status and performance information");
561 parser.addOption(INTERNAL_DELAY_FREQUENCY); 563 parser.addOption(INTERNAL_DELAY_FREQUENCY);
562 parser.addOption(SDK_OPTION, help: "[path] the path to the sdk"); 564 parser.addOption(SDK_OPTION, help: "[path] the path to the sdk");
563 parser.addFlag(USE_ANALYSIS_HIGHLIGHT2, 565 parser.addFlag(USE_ANALYSIS_HIGHLIGHT2,
564 help: "enable version 2 of semantic highlight", 566 help: "enable version 2 of semantic highlight",
565 defaultsTo: false, 567 defaultsTo: false,
566 negatable: false); 568 negatable: false);
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 657
656 _DiagnosticServerImpl(); 658 _DiagnosticServerImpl();
657 659
658 @override 660 @override
659 Future<int> getServerPort() => httpServer.serveHttp(); 661 Future<int> getServerPort() => httpServer.serveHttp();
660 662
661 Future startOnPort(int port) { 663 Future startOnPort(int port) {
662 return httpServer.serveHttp(port); 664 return httpServer.serveHttp(port);
663 } 665 }
664 } 666 }
OLDNEW
« no previous file with comments | « pkg/analysis_server/lib/src/context_manager.dart ('k') | pkg/analyzer/lib/src/context/builder.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698