def show_options(self):
        items = [
            ["Open Project", "Open project in the current window"],
            ["Open Project in New Window", "Open project in a new window"],
            ["Append Project", "Append project to current window"],
            ["Edit Project", "Edit project settings"],
            ['Rename Project', "Rename project"],
            ["Remove Project", "Remove from Project Manager"],
            ["Add Project", "Add current folders to Project Manager"],
            ["Import Project", "Import current .sublime-project file"],
            ["Clear Recent Projects", "Clear Recent Projects"]
        ]

        def callback(a):
            if a < 0:
                return
            elif a <= 5:
                actions = ["switch", "new", "append", "edit", "rename", "remove"]
                self.run(action=actions[a], caller="manager")
            elif a == 6:
                self.run(action="add_project")
            elif a == 7:
                self.run(action="import_sublime_project")
            elif a == 8:
                self.run(action="clear_recent_projects")

        self.show_quick_panel(items, callback)
dataset/ETHPy150Open randy3k/Project-Manager/pm.py/ProjectManager.show_options/original