Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1711)

Unified Diff: pkg/analyzer_plugin/doc/tutorial/navigation.md

Issue 2998083002: Minor enhancement to the plugin tutorials (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/analyzer_plugin/doc/tutorial/fixes.md ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 d267241aa017985c6c96890bbc8c13d512a3d422..fedae23a7069e0c1d55078c37cdec755374f07b0 100644
--- a/pkg/analyzer_plugin/doc/tutorial/navigation.md
+++ b/pkg/analyzer_plugin/doc/tutorial/navigation.md
@@ -30,6 +30,9 @@ To write a navigation contributor, create a class that implements
describes the region of the file for which navigation is being requested and a
`NavigationCollector` through which navigation information is to be added.
+If you mix in the class `DartNavigationMixin`, then the request will be an
+instance of `DartNavigationRequest`, which also has analysis results.
+
## Example
Start by creating a class that implements `NavigationContributor`, then
« no previous file with comments | « pkg/analyzer_plugin/doc/tutorial/fixes.md ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698