Autocomplete
With autocomplete suggestions, Grammarly offers to complete phrases as someone types, helping them communicate more efficiently. When you turn on the autocomplete feature for the Grammarly Text Editor Plugin, Grammarly's autocomplete suggestions will appear in your editor.
Autocomplete is only available for apps on the Plus plan. Learn moreopen in new window about our plans.
How it works
Autocomplete suggestions appear as light gray text when Grammarly detects words that are likely to complete the user's phrase.
The user can press either the Tab or right arrow key on their keyboard to apply the suggestion.
Keep in mind the following:
- Autocomplete suggestions only appear when Grammarly is confident that the suggestion is appropriate for the context. Conversational writing is more likely to result in autocomplete suggestions than other types of writing.
- The plugin will only show autocomplete suggestions at the end of a message or body of text.
- The plugin will not show autocomplete suggestions for
<input>
elements. - Your users can turn autocomplete on or off anytime from the Grammarly button menu.
Configuration
To turn on the autocomplete feature for the plugin, use the autocomplete configuration option.
If your application has a Content Security Policyopen in new window, you may need to update it to allow autocomplete. See the Grammarly FAQ for more details.
Example
Give autocomplete a try by navigating to our online demo. Click inside the large textarea
, and type the word "the" at the end of the prefilled text. Autocomplete will suggest a phrase to finish the sentence.
Here are a few other starting points you might want to try:
- "I will let"
- "What is your take"
- "How does this week"