def select_package(self):
help_list = help_index_list()
if len(help_list) <= 1:
return log("No packages with help are currently installed",
status=True)
pkg_list = sorted([key for key in help_list])
captions = [[help_list[key].package,
help_list[key].description]
for key in pkg_list]
sublime.active_window().show_quick_panel(
captions,
on_select=lambda index: self.select_package_item(captions, index))
评论列表
文章目录