Chromium Code Reviews| Index: pkg/analyzer_plugin/doc/tutorial/navigation.md |
| diff --git a/pkg/analyzer_plugin/doc/tutorial/navigation.md b/pkg/analyzer_plugin/doc/tutorial/navigation.md |
| index fedae23a7069e0c1d55078c37cdec755374f07b0..3e7550ca61e06a307883f8f6569678c999b03024 100644 |
| --- a/pkg/analyzer_plugin/doc/tutorial/navigation.md |
| +++ b/pkg/analyzer_plugin/doc/tutorial/navigation.md |
| @@ -15,7 +15,10 @@ When an `analysis.getNavigation` request is received, the method |
| `handleAnalysisGetNavigation` will be invoked. This method is responsible for |
| returning a response that contains the available navigation information. |
| -The easiest way to implement the method `handleAnalysisGetNavigation` is by |
| +When a notification needs to be sent, the method`sendNavigationNotification` |
|
scheglov
2017/08/24 18:19:21
Add a space between "method" and "`"?
|
| +will be invoked. This method is responsible for sending the notification. |
| + |
| +The easiest way to add support for both the request and the notification is by |
| adding the classes `NavigationMixin` and `DartNavigationMixin` (from |
| `package:analyzer_plugin/plugin/navigation_mixin.dart`) to the list of mixins |
| for your subclass of `ServerPlugin`. This will leave you with one abstract |