def setCursorPosition(filePath, row, col):
if (os.path.exists(filePath)):
sublime.active_window().open_file(filePath + ":" + str(row) +
":" + str(col), sublime.ENCODED_POSITION)
else:
sublime.error_message(
"Sourcetrail is trying to jump to a file that does not exist: " + filePath)
SourcetrailPlugin.py 文件源码
python
阅读 19
收藏 0
点赞 0
评论 0
评论列表
文章目录