code_actions.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:LSP 作者: tomv564 项目源码 文件源码
def handle_codeaction_response(self, response):
        titles = []
        self.commands = response
        for command in self.commands:
            titles.append(
                command.get('title'))  # TODO parse command and arguments
        if len(self.commands) > 0:
            self.view.show_popup_menu(titles, self.handle_select)
        else:
            self.view.show_popup('No actions available', sublime.HIDE_ON_MOUSE_MOVE_AWAY)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号