@Contract(pure = true)
  public static String shortenNameIfNeeded(@NotNull String name) {
    return StringUtil.trimMiddle(name, Registry.intValue("run.configuration.max.name.length", 80));
  }
@Contract(pure = true)
  public static String shortenNameIfNeeded(@NotNull String name)