2bcc415510
In a given library, every import directive has a set of "used elements," the subset of elements provided by the import which are used in the library. In a given library, an import directive is "unnecessary" if there exists at least one other import directive with the same prefix as the aforementioned import directive, and a "used elements" set which is a proper superset of the aforementioned import directive's "used elements" set. https://github.com/dart-lang/sdk/issues/44569 Change-Id: I4da43be36837cdafb07a0ab67a94e644f351e593 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/177221 Commit-Queue: Samuel Rawlins <srawlins@google.com> Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
analysis_server
A long-running process that provides analysis results to other tools.
The analysis server is designed to provide on-going analysis of one or more code bases as those code bases are changing.
Using the server
The analysis server is not intended to be used stand-alone, and therefore does not have a human-friendly user interface.
Clients (typically tools, such as an editor) are expected to run the analysis
server in a separate process and communicate with it using a JSON protocol. The
original protocol is specified in the file analysis_server/doc/api.html
and Language Server Protocol support is documented in
tool/lsp_spec/README.md.
Features and bugs
Please file feature requests and bugs at the issue tracker.