def print_action_history(self, selector):
        selector = selector or ""
        actions = self.get_actions(selector)

        actionText = "\n".join(
            "{}. {}".format(i, action)
            for i, action in enumerate(actions, 1)
        )

        report = REPORT_TEMPLATE.format_map({
            "javatar_version": Constant.get_version(),
            "is_package": os.path.exists(os.path.join(
                sublime.installed_packages_path(), "Javatar.sublime-package")
            ),
            "parent_folder": __name__.split('.')[0],
            "sublime_version": sublime.version(),
            "sublime_channel": sublime.channel(),
            "is_debug": Settings().get("debug_mode"),
            "package_control": (os.path.exists(
                os.path.join(sublime.packages_path(), "Package Control")
            ) or os.path.exists(os.path.join(
                sublime.installed_packages_path(),
                "Package Control.sublime-package"
            ))),
            "is_project": StateProperty().is_project(),
            "is_file": StateProperty().is_file(),
            "is_java": StateProperty().is_java(),
            "packages_path": sublime.packages_path(),
            "platform": sublime.platform(),
            "arch": sublime.arch(),
            "actions": actionText,
        })

        view = self.window.new_file()
        view.set_name("Javatar Action History Report")
        view.set_scratch(True)
        view.run_command("javatar_utils", {
            "util_type": "add",
            "text": report,
            "dest": "Action History"
        })
        view.run_command("javatar_utils", {"util_type": "set_read_only"})
Module's Home Page
dataset/ETHPy150Open spywhere/Javatar/commands/helps/help.py/JavatarActionHistoryCommand.print_action_history--crossover with--dataset/ETHPy150Open sahana/eden/controllers/evr.py/index