dart-sdk/pkg/analyzer_plugin
Danny Tuppeny 916272331b [analysis_server] Remove the singleton uriConverter and pass explicitly to all toJson/fromJson methods
This avoids accidentally using the converter when talking to plugins, (at least for now) URIs are never expected, and file paths should always be used regardless of which mode the server is in.

This unfortunately touches a _lot_ of code, so I've pushed in many separate patch sets to Gerrit.

Fixes https://github.com/Dart-Code/Dart-Code/issues/5156

Change-Id: I312c3e2cbc35a05a078aaa0138aec7288b3c7dd6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373745
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2024-07-02 14:15:11 +00:00
..
doc [analysis_server] Remove the singleton uriConverter and pass explicitly to all toJson/fromJson methods 2024-07-02 14:15:11 +00:00
lib [analysis_server] Remove the singleton uriConverter and pass explicitly to all toJson/fromJson methods 2024-07-02 14:15:11 +00:00
test Convert the analyzer package to use the new location for mock packages 2024-06-24 17:53:45 +00:00
tool/spec [analysis_server] Remove the singleton uriConverter and pass explicitly to all toJson/fromJson methods 2024-07-02 14:15:11 +00:00
.gitignore
analysis_options.yaml Ignore TODO in pkg/analyzer_plugin. 2024-03-21 16:38:11 +00:00
CHANGELOG.md QuickFix. Issue 55773. Flatten FutureOr() when convert to async. 2024-06-03 23:10:09 +00:00
LICENSE
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml QuickFix. Issue 55773. Flatten FutureOr() when convert to async. 2024-06-03 23:10:09 +00:00
README.md [pkg] normalize the headers of the pkg/ readmes 2022-05-31 21:00:13 +00:00

pub package package publisher

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.