@Override
  public boolean isSelected(@NotNull AnActionEvent e) {
    return myEditor.getSubstitutionParameters().isShowContentForType(myType);
  }
@Override
  public boolean isSelected(@NotNull AnActionEvent e)