在Tornado中使用Source Insight

来源:互联网 发布:pixhawk地面站软件 编辑:程序博客网 时间:2024/06/05 14:30

选择Tools -> Option -> External Editor

在Conmand中后面的小箭头处点击然后选Browser,浏览到Source Insight所在目录,选择Source Insight的运行程序,然后再点击小箭头,将File Name和 Line number选上。最后将Invoke form的3项都勾选上就可以了。

附上我的command栏中信息,可以手动输入“C:/Program Files/Source Insight 3/Insight3.exe -i +$lineno $filename”
其中 -i指只打开一份Source Insight。

最好在中Source Insight配置一个包含整个Tornado目录的工程,这样在写程序时就可以进行函数的定义跟踪了。

最好在Source Insight中也作一下设置,否则如果在Tornado中对文件进行修改,Source Insight会提示文在外部被修改了,是否要重新装入,比较烦人,所以我们可以把这个提示去掉,方法是在Source Insight菜单中选择Option->Preference中的File标签页,从上向下数去掉第三个复选框即可。

原创粉丝点击