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