惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
C
CERT Recently Published Vulnerability Notes
Know Your Adversary
Know Your Adversary
Security Archives - TechRepublic
Security Archives - TechRepublic
Security Latest
Security Latest
P
Privacy & Cybersecurity Law Blog
P
Privacy International News Feed
月光博客
月光博客
Stack Overflow Blog
Stack Overflow Blog
H
Hackread – Cybersecurity News, Data Breaches, AI and More
H
Help Net Security
Recent Commits to openclaw:main
Recent Commits to openclaw:main
AI
AI
O
OpenAI News
M
MIT News - Artificial intelligence
Scott Helme
Scott Helme
U
Unit 42
P
Proofpoint News Feed
罗磊的独立博客
C
Check Point Blog
MongoDB | Blog
MongoDB | Blog
Engineering at Meta
Engineering at Meta
博客园 - 三生石上(FineUI控件)
阮一峰的网络日志
阮一峰的网络日志
Apple Machine Learning Research
Apple Machine Learning Research
T
The Exploit Database - CXSecurity.com
I
InfoQ
云风的 BLOG
云风的 BLOG
aimingoo的专栏
aimingoo的专栏
Google DeepMind News
Google DeepMind News
W
WeLiveSecurity
Webroot Blog
Webroot Blog
P
Palo Alto Networks Blog
C
Cybersecurity and Infrastructure Security Agency CISA
N
News and Events Feed by Topic
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
A
About on SuperTechFans
美团技术团队
J
Java Code Geeks
T
Tenable Blog
L
LINUX DO - 最新话题
NISL@THU
NISL@THU
G
Google Developers Blog
Forbes - Security
Forbes - Security
爱范儿
爱范儿
S
Security @ Cisco Blogs
Project Zero
Project Zero
有赞技术团队
有赞技术团队

博客园 - 蔡秋心

Windows Azure VM的两种shut down 方式 转贴: A Simple c# Wrapper for ffMpeg PowerShell: 找到一个目录下最新的文件 PowerShell: 如何解决File **.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get- help about_sig" for more de 在localhost上使用fiddler 在SQL Server Business Intelligence Development Studio中编辑Dynamcis CRM中的Report Report Design: Best Practices and Guidelines Visual Studio使用小技巧6 – 为代码加上Using(Resolve using)和管理Using(Organize using) Visual Studio使用小技巧5 – 区块选择(box selection)的拷贝(copy)和粘贴(paste) Visual Studio使用小技巧4 – Where am I(在Solution Explorer中显示当前文档) Visual Studio使用小技巧2 – 使用任务列表(task list) - 补充 Visual Studio使用小技巧2 – 使用任务列表(task list) Visual Studio使用小技巧1 – HTML编辑器中的格式化 部署Dotnetnuke Site到虚拟目录和端口不为80的网站 asp.net使用COM组件需要的权限设置 前台线程(Foreground Threads)和后台线程(Background Threads) 在Dynamics CRM 的 Entity Form中显示记录的ID的方法 如何使用VS2005创建web安装包 使用Visual Studio中的Item Template
Visual Studio使用小技巧3 – 标签分组(Tab Group)和分割窗口(Split window)
蔡秋心 · 2011-03-30 · via 博客园 - 蔡秋心

我们程序员在写程序的时候经常要参考本项目或者是本解决方案中的另一个文件的代码。像写Business Logical的时候,要参考Domain类的定义。我这两天就深感其烦,我的Domain类是C#代码, 而Business Logical是Cli的代码,最要命的是cli中的自动提示(intellisense) 经常不工作。我需要不停的按Alt+Tab键切换窗口,直到我发现了标签分组(Tab Group)。微软提供两种方式的标签分组(Tab Group): 水平标签分组(New Horizontal Tab Group)和垂直标签分组(New Vertical Tab Group). 它们都在Window菜单下。

image

水平标签分组(New Horizontal Tab Group):引用的assembly中的定义显示在上面的Object Browser中,代码写在下面。

image

垂直标签分组(New Vertical Tab Group):引用的assembly中的定义显示在左边的Object Browser中,代码写在右边。

image

点住窗口的标签,可以在两个group中互相拖动。或者是通过Window菜单下的Move to Previous Tab Group和Move to Next Tab Group,将窗口移动到另一个group中去。

具体使用水平分组还是垂直分组,取决于你的显示器。如果我只使用19吋16:10的显示器,水平分组好点。不过估计大家都使用22吋或者23吋 16:9的显示器。估计垂直分组好点。不过我现在有两个显示器,垂直分组可以自动将两个分组分到不同的显示器上,看起来还是很爽的。

image

Visual Studio默认就是Tab的窗口,如果你的Visual Studio不小心被改成了多文档窗口。你可以通过Option中的设置改回来。

Tool –> Options打开Options对话框,找到Environment->Genearal。

Window layout中选中Tabbed documents.

image 

如果我想参考的代码在同一个文件中怎么办?例如我想在Set函数中参考Get函数中的代码。这个时候可以使用分割窗口(split window):Window –> Split。 我们没有过多的选择,只能水平分割。

image

分割窗口(split window)还可以通过鼠标设置,鼠标移动到下图红色圈内的小灰色矩形上,光标会变化,这时候就可以进行拖动了。

image