private String getActionText()

in idea-plugin/src/main/java/com/jetbrains/ide/streamdeck/keymap/ActionsTree.java [659:669]


    private String getActionText(@Nullable AnAction action, @NlsSafe String actionId, @Nullable String boundSourceId) {
      String text = action == null ? null : action.getTemplateText();
      if (text == null || text.length() == 0) { //fill dynamic presentation gaps
        if (myBrokenActions.add(actionId)) {
          LOG.warn("Template presentation is not defined for '" + actionId + "' - showing internal ID in UI" +
                   (boundSourceId != null ? ", bound by " + boundSourceId : ""));
        }
        text = actionId;
      }
      return text;
    }