In this CL, I do not change the signature of any EditBuilder code, as it is public analyzer_plugin API. I only change doc comments and a few impl nits here and there, to make more modern or idiomatic. This CL is isolated this way so that when I do a copy to the analysis_server_plugin package, the moves will be smaller, readable diffs (almost zero diff, just imports and things like that). Change-Id: Ibc8a5ddb9a679278dd7223a3e2d868fe21c4acef Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363881 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Samuel Rawlins <srawlins@google.com>
A framework for building plugins for the analysis server.
Usage
Note: The plugin support is not currently available for general use.
Plugins are written in Dart and are run in the same VM as the analysis server. The analysis server runs each plugin in a separate isolate and communicates with the plugin using a plugin API. This API is similar to the API used by the analysis server to communicate with clients.
Plugins are automatically discovered and run by the analysis server.
This package contains support code to make it easier to write a plugin. There is a tutorial describing how to use the support in this package.
Support
Post issues and feature requests on the issue tracker.
Questions and discussions are welcome at the Dart Analyzer Discussion Group.
License
See the LICENSE file.