@Deprecated(forRemoval = true)
  public static Project getContextProjectForEditorFieldsInDebuggerConfigurables() {
    //todo improve
    IdeFrame frame = IdeFocusManager.getGlobalInstance().getLastFocusedFrame();
    if (frame != null) {
      Project project = frame.getProject();
      if (project != null) {
        return project;
      }
    }
    Project project = theOnlyOpenProject();
    return project != null ? project : ProjectManager.getInstance().getDefaultProject();
  }
@Deprecated(forRemoval = true)
  public static Project getContextProjectForEditorFieldsInDebuggerConfigurables()