

def __refresh_settings(self, first_load=False):
    if (not first_load):
        print(('[FileHistory] Reloading the settings file "%s".' % history_path.SETTINGS_FILE))
    self.PRINT_DEBUG = self.__ensure_setting('debug', False)
    self.GLOBAL_MAX_ENTRIES = self.__ensure_setting('global_max_entries', 100)
    self.PROJECT_MAX_ENTRIES = self.__ensure_setting('project_max_entries', 50)
    self.USE_SAVED_POSITION = self.__ensure_setting('use_saved_position', True)
    self.NEW_TAB_POSITION = self.__ensure_setting('new_tab_position', 'next')
    self.REOPEN_IN_CURRENT_GROUP = self.__ensure_setting('reopen_file_in_current_group', False)
    self.REMOVE_NON_EXISTENT_FILES = self.__ensure_setting('remove_non_existent_files_on_preview', True)
    self.CLEANUP_ON_STARTUP = self.__ensure_setting('cleanup_on_startup', True)
    self.DELETE_ALL_ON_STARTUP = self.__ensure_setting('delete_all_on_startup', False)
    history_path = self.__ensure_setting('history_file', os.path.join('User', 'FileHistory.json'))
    self.HISTORY_FILE = os.path.normpath(os.path.join(sublime.packages_path(), history_path))
    self.USE_MONOSPACE = self.__ensure_setting('monospace_font', False)
    self.TIMESTAMP_SHOW = self.__ensure_setting('timestamp_show', True)
    self.TIMESTAMP_FORMAT = self.__ensure_setting('timestamp_format', self.DEFAULT_TIMESTAMP_FORMAT)
    self.TIMESTAMP_MODE = self.__ensure_setting('timestamp_mode', 'history_access')
    self.TIMESTAMP_RELATIVE = self.__ensure_setting('timestamp_relative', True)
    self.PRETTIFY_HISTORY = self.__ensure_setting('prettify_history', False)
    self.PATH_EXCLUDE_PATTERNS = self.__ensure_setting('path_exclude_patterns', [])
    self.PATH_REINCLUDE_PATTERNS = self.__ensure_setting('path_reinclude_patterns', [])
    self.MAX_BACKUP_COUNT = self.__ensure_setting('max_backup_count', 3)
    try:
        time.strftime(self.TIMESTAMP_FORMAT)
    except ValueError:
        print('[FileHistory] Invalid timstamp_format string. Falling back to default.')
        self.TIMESTAMP_FORMAT = self.DEFAULT_TIMESTAMP_FORMAT
    self.SHOW_FILE_PREVIEW = (False if is_ST2 else self.__ensure_setting('show_file_preview', True))

dataset/ETHPy150Open FichteFoll/FileHistory/file_history.py FileHistory.__refresh_settings/VarMisuse@27/52 `self`->`history_path`