Autocomplete

When you turn on autocomplete for your application, Grammarly can offer to complete phrases for your users as they type, helping them communicate more efficiently.

How it works

When Grammarly has a suggestion to complete the user’s phrase, the suggested text will appear in light gray.

The user can press either the Tab or right arrow key on their keyboard to apply the suggestion.

Keep in mind the following:

  • Grammarly will only show a suggestion when confident that the suggestion is appropriate for the context. Conversational writing is more likely to trigger autocomplete suggestions than other types of writing.
  • Grammarly 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 autocomplete, 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"
Last Updated: 10/14/2022, 5:57:08 PM