/**
  * We want to apply it on \n or on '.'
  *
  * <p>When . is entered, the user will finish (and apply) the current completion and request a new
  * one with '.'
  *
  * <p>If not added, it won't request the new one (and will just stop the current)
  */
 @Override
 public char[] getTriggerCharacters() {
   char[] chars = VAR_TRIGGER;
   if (PyCodeCompletionPreferencesPage.applyCompletionOnLParen()) {
     chars = StringUtils.addChar(chars, '(');
   }
   if (PyCodeCompletionPreferencesPage.applyCompletionOnRParen()) {
     chars = StringUtils.addChar(chars, ')');
   }
   return chars;
 }