前言:

经常在vs中工作,但是一些编辑工作却非常喜欢sublime的方式,如果你也是,那我们来当媒婆吧,哈哈.

准备:
       Visualstudio一枚
       Sublime一枚
       版本都随意,我这里以vs2010举例.
开始:
       打开工具-->外部工具
       
        点击增加:
        
      其中标题随你,
      命令选择你的sublime的位置
      参数输入:$(ItemPath):$(CurLine):$(CurCol)
      这个的意思是:文件名:当前行号:当前列号,这个参数方式对所有工具都有效,我这里列出完整的参数参考.
          Usage: subl [arguments] [files]         edit the given files
   or: subl [arguments] [directories]   open the given directories
   or: subl [arguments] -               edit stdin
 
Arguments:
  --project <project>: Load the given project
  --command <command>: Run the given command
  -n or --new-window:  Open a new window
  -a or --add:         Add folders to the current window
  -w or --wait:        Wait for the files to be closed before returning
  -b or --background:  Don't activate the application
  -s or --stay:        Keep the application activated after closing the file
  -h or --help:        Show help (this message) and exit
  -v or --version:     Show version and exit
 
--wait is implied if reading from stdin. Use --stay to not switch back
to the terminal when a file is closed (only relevant if waiting for a file).
 
Filenames may be given a :line or :line:column suffix to open at a specific
location.
这样就可以点击工具-->sublime来启动sublime编辑了,编辑完保存关闭,vs会提示文件有修改,是否加载,点击是即可.

如何能够更加快捷的使用呢,那就设置快捷键吧.
打开工具-->选项
找到Tools.ExternalCommand3,数字3是看你在外部工具列表排的位置

设置一个你要的快捷键,我设置的Ctrl+E,Ctrl+E

确定就好了,这样我们需要编辑就Ctrl+E,Ctrl+E,然后编辑,完成后Ctrl+s,alt+f4即可.

最新文章

  1. Oracle操作
  2. CURL in windows
  3. 莱卡旗下旗下首台全片幅无反相机 Leica SL 抵港,吐槽下
  4. BZOJ 1257: [CQOI2007]余数之和sum
  5. Hadoop中客户端和服务器端的方法调用过程
  6. eclipse 编译出错(java.io.ObjectInputStream)的解决办法
  7. Storm实时流处理Hello World
  8. JS数组(Array)处理函数总结
  9. 【Android开发经验】ViewHolder到底用什么修饰?static?final?static final?
  10. BAT线下战争:巨额投资或培养出自己最大对手(包括美团、58、饿了么在内的公司都在计划推出自己的支付工具和金融产品,腾讯只做2不做O)
  11. 什么是JDBC?
  12. 我的iOS-App
  13. C++11 左值、右值、右值引用详解
  14. Jhipster 学习(一)jhipster构建项目
  15. 【HTTP】---HTTP状态码详解
  16. Linux中JDK安装教程
  17. c# Console application Open/Get Url by Browser
  18. 03. Pandas 2| 时间序列
  19. html5的离线缓存
  20. vss登录invalid handle问题的解决办法

热门文章

  1. win10 Administrator
  2. oracle job interval&#183;相关事例
  3. HDU 3920 Clear All of Them I(DP + 状态压缩 + 贪心)
  4. 滑动条 Trackbar[OpenCV 笔记9]
  5. 使用NPOI操作Excel
  6. AJAX 简单上手
  7. mui h5 动态实现数据的移除和数据操作完后的重新获取
  8. SQLServer数据库 导出表和导入sql脚本
  9. 数位dp入门 hdu2089 不要62
  10. 【转】iOS设计模式之观察者模式