boolean isSelectOpenedFileEnabled() {
    return !isAutoscrollFromSourceEnabled(currentViewId) || AdvancedSettings.getBoolean("project.view.do.not.autoscroll.to.libraries");
  }
boolean isSelectOpenedFileEnabled()