784ad29470
This updates dartfix to more narrowly verify the analysis server protocol version and print instructions for the user if the protocol version expected by dartfix is incompatible with the current Dart SDK. This is necessary because the edit.dartfix protocol is experimental and will continue to evolve. Change-Id: Ib31eb594a8a94416cb4fc676e7da9150f8c99b6a Reviewed-on: https://dart-review.googlesource.com/c/84780 Commit-Queue: Dan Rubel <danrubel@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
analysis_server_client
analysis_server_client is a client wrapper over Analysis Server.
Overview
-
Instances of Server manage a connection to an analysis server process, and facilitate communication to and from the server.
-
The Protocol library provides constants and classes to build requests for the server and decode responses and notifications from the server.
Example
The example uses the Server to launch the analysis server, analyze all *.dart files in the specified directory, display the results, and shutdown the analysis server.
References
For more about the analysis server, see the Analysis Server page.