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

Unified Diff: pkg/analyzer_plugin/doc/tutorial/completion.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/assists.md ('k') | pkg/analyzer_plugin/doc/tutorial/fixes.md » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_plugin/doc/tutorial/completion.md
diff --git a/pkg/analyzer_plugin/doc/tutorial/completion.md b/pkg/analyzer_plugin/doc/tutorial/completion.md
index 883921c96e86aea214d439739a4f90d010ecbfd9..3776713a7eb93f3d85ec4b623a3f2f535458688f 100644
--- a/pkg/analyzer_plugin/doc/tutorial/completion.md
+++ b/pkg/analyzer_plugin/doc/tutorial/completion.md
@@ -45,6 +45,9 @@ To write a completion contributor, create a class that implements
describes the where completions are being requested and a `CompletionCollector`
through which suggestions are to be added.
+If you mix in the class `DartCompletionMixin`, then the request will be an
+instance of `DartCompletionRequest`, which also has analysis results.
+
## Example
Start by creating a class that implements `CompletionContributor`, then
« no previous file with comments | « pkg/analyzer_plugin/doc/tutorial/assists.md ('k') | pkg/analyzer_plugin/doc/tutorial/fixes.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698