| Index: pkg/analysis_server/lib/plugin/assist.dart
|
| diff --git a/pkg/analysis_server/lib/plugin/assist.dart b/pkg/analysis_server/lib/plugin/assist.dart
|
| index 393a479052d4cbfeda2fc6a92ef99d4fd6552497..0955d10577477bb7721a647fbe948ce0596207a7 100644
|
| --- a/pkg/analysis_server/lib/plugin/assist.dart
|
| +++ b/pkg/analysis_server/lib/plugin/assist.dart
|
| @@ -5,6 +5,22 @@
|
| /**
|
| * Support for client code that extends the analysis server by adding new assist
|
| * contributors.
|
| + *
|
| + * Plugins can register assist contributors. The registered contributors will be
|
| + * used to get assists any time a client issues an 'edit.getAssists' request.
|
| + *
|
| + * If a plugin wants to add assists, it should implement the class
|
| + * [AssistContributor] and then register the contributor by including code like
|
| + * the following in the plugin's registerExtensions method:
|
| + *
|
| + * @override
|
| + * void registerExtensions(RegisterExtension registerExtension) {
|
| + * ...
|
| + * registerExtension(
|
| + * ASSIST_CONTRIBUTOR_EXTENSION_POINT_ID,
|
| + * new MyAssistContributor());
|
| + * ...
|
| + * }
|
| */
|
| library analysis_server.plugin.assist;
|
|
|
|
|