def on_done(self, idx):
"""Pick this error to navigate to a file."""
log.debug("Picked idx: %s", idx)
if idx < 0:
return
picked_entry = self.errors[idx]
file_str = "{file}:{row}:{col}".format(file=picked_entry['file'],
row=picked_entry['row'],
col=picked_entry['col'])
self.view.window().open_file(file_str, sublime.ENCODED_POSITION)
评论列表
文章目录