博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
With Visual Studio, Open Same File In Two Windows, Updates Reflected in Both
阅读量:6150 次
发布时间:2019-06-21

本文共 1316 字,大约阅读时间需要 4 分钟。

I’ve always been frustrated in (all versions I can remember including latest vs2012) with not being able to look at the top of a file and edit the bottom.  Recently, on an Microsoft insiders list I participate in, someone posted that exact feature as a suggestion for future versions of Visual Studio.  Before I had a chance to post back a “+1” some one else posted back that you’ve been able to do that for years in all the versions of Visual Studio he could remember.

All you have to do is, with the version of the file you want to duplicate open (you are selected to that tab), press the menu choice “Window/New Window” and presto!  you have two copies.

Now, after pressing Window/New Window you get:

And, if you do the nice “multi monitor” support in Visual Studio by dragging one off of Visual Studio on to your desktop, you now can see and edit two copies of the same files.  Changes in one are immediately updated in the other.  Just what I’ve always wanted!!!

Not so discoverable, but an awesome feature.  Maybe it would be nice, as someone else suggested, to have that in the drop down of the file’s tab and it would be easier to find.

Hope this helps!

可惜的是,直到 2013,VS 并不是对所有的文件类型都支持双窗口,于是你需要下面的方案。不过,经过实验,对于13有用,对于12则会出现虽然打开了第二个窗口,但是窗口中内容为空。

不过上面的链接操作起来有实际困难,实际你只需要查询注册表中的“Single Code Window Only”,然后全部改为值为0就可以了。

 

转载地址:http://lagya.baihongyu.com/

你可能感兴趣的文章
类与成员变量,成员方法的测试
查看>>
活在当下
查看>>
每天进步一点----- MediaPlayer
查看>>
PowerDesigner中CDM和PDM如何定义外键关系
查看>>
跨域-学习笔记
查看>>
the assignment of reading paper
查看>>
android apk 逆向中常用工具一览
查看>>
MyEclipse 报错 Errors running builder 'JavaScript Validator' on project......
查看>>
Skip List——跳表,一个高效的索引技术
查看>>
Yii2单元测试初探
查看>>
五、字典
查看>>
前端js之JavaScript
查看>>
Log4J日志配置详解
查看>>
实验7 BindService模拟通信
查看>>
scanf
查看>>
Socket编程注意接收缓冲区大小
查看>>
SpringMVC初写(五)拦截器
查看>>
检测oracle数据库坏块的方法
查看>>
SQL server 安装教程
查看>>
Linux下ftp和ssh详解
查看>>