vs2015与source insight联动
来源:互联网 发布:买了域名怎么解析 编辑:程序博客网 时间:2024/06/06 04:45
如果觉得文章对你有帮助先点个赞
在使用vs2015的调试的时候发现跳转和看代码还是不如source insight来得直接
所以发明了轮子
在vs2015中调试代码,在source insight中看代码然后他们可以使用快捷键互相跳转
快捷键一
CTRL+4
在source insight中CTRL+4可以直接跳转到vs2015中对应文件对应代码行
source insight配置
在source insight option-》custom commands中添加如下命令
run的命令如下
wscript d:/vs2015.vbs %f %l
其中d盘放一个我限号的vbs脚本内容如下
Set args = WScript.ArgumentsIf args.Count = 2 Thenfilename=WScript.Arguments(0)line=WScript.Arguments(1)set a=createobject("wscript.shell")'temp="D:\Program Files (x86)\vs2015\Common7\IDE\devenv.exe "path = Chr(34) & temp & Chr(34)a.run (path &filename &" /edit")wscript.sleep 300 '点好窗口先,不然。。。a.sendkeys"^g"wscript.sleep 10 '点好窗口先,不然。。。a.sendkeys linewscript.sleep 10 '点好窗口先,不然。。。a.sendkeys "{ENTER}"end if
其中temp="D:\Program Files (x86)\vs2015\Common7\IDE\devenv.exe "为vs2015可执行文件的位置。。。
在d盘中copy上述代码,然后新建一个vbs脚本即可。自行修改自己的vs位置
最后在source insight中的option-》
给vs2015命令添加一个快捷键。。这个快捷键我设置的为CTRL+4
最后可以在source insight中实验一下。。体验爽YY。。
上面内容主要讲述到source insight跳转vs的做法。那么vs跳转source insight如何做到呢?
vs2015->工具-》外部工具
在这个界面中添加source insight的跳转命令
具体命令如下
标题:source insight
命令:C:\Program Files (x86)\Source Insight 3\Insight3.exe
参数: +$(CurLine) -i $(ItemDir)$(ItemFileName)$(ItemExt)
初始化目录:$(ProjectDir)
添加好以上的工具命令以后我们可以数一下source insight这个工具的顺序从上而下从1开始,我的source insight在外部工具中排名第9.。记忆好这个9.我们添加快捷方式
vs2015-》工具-》选项-》环境-》键盘
按照如下配置。。
也给vs2015跳转到source insight提供了一个快捷键。快试一试呢。。。。
最后不要问我是如何了解这些知识的。我只能说手册、help。。和一个敢于尝试的心。。。
bestboyxie原创·~~欢迎咨询
2 0
- vs2015与source insight联动
- Source Insight 使用与配置
- Source Insight 与 PClint配置
- 分享source insight快捷键与使用方法
- Source Insight与github的使用
- Source insight 3.5的安装与卸载
- Source Insight 与IAR格式同步
- source insight 头文件与源文件切换
- source insight 头文件与源文件切换
- Source Insight
- Source Insight
- source insight
- Source Insight
- Source Insight
- Source Insight
- source insight
- source insight
- source insight
- bookStore第二篇【图书模块、前台页面】
- 从零单排开发微信小程序(1)
- java 泛型使用方法
- php语法基础认识
- Lua面向对象化和c++脚本化
- vs2015与source insight联动
- Linux-Shell chmod
- 冒泡排序
- Python基础
- oracle的建表语句
- Java内存模型和内存间相互操作
- Spring学习之缓存机制EhCache---Condition
- Java 基于链表的栈结构实现
- Hadoop安装包目录下几个比较重要的目录及其作用