Interface SuggestionProvider

All Known Implementing Classes:
CompositeSuggestionProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface SuggestionProvider
Provides inline ghost text suggestions based on the current buffer content.
  • Method Summary

    Modifier and Type
    Method
    Description
    suggest(String buffer)
    Returns the suggested suffix to display after the current buffer, or null for no suggestion.
  • Method Details

    • suggest

      String suggest(String buffer)
      Returns the suggested suffix to display after the current buffer, or null for no suggestion.
      Parameters:
      buffer - the current input buffer content
      Returns:
      the suggestion suffix, or null