EasyClangComplete.py 文件源码

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

项目:EasyClangComplete 作者: niosus 项目源码 文件源码
def info_finished(self, future):
        """Call this callback when additional information for tag is available.

        Creates popup containing information about text under the cursor

        """
        if not future.done():
            return
        if future.cancelled():
            return
        (tooltip_request, result) = future.result()
        if result == "":
            return
        if not tooltip_request:
            return
        if tooltip_request.get_identifier() != self.current_job_id:
            return
        view = tooltip_request.get_view()
        view.show_popup(result,
                        location=tooltip_request.get_trigger_position(),
                        flags=sublime.HIDE_ON_MOUSE_MOVE_AWAY,
                        max_width=1000,
                        on_navigate=self.on_open_declaration)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号