goto.py 文件源码

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

项目:sublimeTextConfig 作者: luoye-fe 项目源码 文件源码
def on_success(self, data):
        """Called when a result comes from the query
        """

        if not data['result']:
            sublime.status_message('Could not find symbol')
            return

        symbols = []
        for result in data['result']:
            symbols.append({
                'title': result[0],
                'location': 'File: {} Line: {} Column: {}'.format(
                    result[1], result[2], result[3]
                ),
                'position': '{}:{}:{}'.format(result[1], result[2], result[3])
            })

        ExplorerPanel(self.view, symbols).show([])
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号