public boolean processEnterKeyPressed(@NotNull KeyEvent keyPressed) {
    if (!isFeatureEnabled() || !isEnabledForProject()) {
      onShellCommandExecuted();
      return false;
    }
    myLastKeyPressedMillis.set(System.currentTimeMillis());
    String command = myWidget.getTypedShellCommand().trim();
    if (LOG.isDebugEnabled()) {
      LOG.debug("typed shell command to execute: " + command);
    }
    myAlarm.cancelAllRequests();

    Executor executor = matchedExecutor(keyPressed);
    SmartCommandContext smartCommandContext = getLastSmartCommandContextIfMatched(command);
    if (smartCommandContext != null && executor != null) {
      smartCommandContext.execute(executor);
      return true;
    }
    if (smartCommandContext != null) {
      smartCommandContext.triggerCommandExecuted(false);
    }
    onShellCommandExecuted();
    return false;
  }
public boolean processEnterKeyPressed(@NotNull KeyEvent keyPressed)