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

推荐订阅源

MongoDB | Blog
MongoDB | Blog
博客园 - 聂微东
Attack and Defense Labs
Attack and Defense Labs
WordPress大学
WordPress大学
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Spread Privacy
Spread Privacy
AI
AI
宝玉的分享
宝玉的分享
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
C
Cyber Attacks, Cyber Crime and Cyber Security
爱范儿
爱范儿
Help Net Security
Help Net Security
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
Forbes - Security
Forbes - Security
P
Privacy & Cybersecurity Law Blog
Project Zero
Project Zero
IT之家
IT之家
Hugging Face - Blog
Hugging Face - Blog
博客园 - 三生石上(FineUI控件)
S
SegmentFault 最新的问题
有赞技术团队
有赞技术团队
T
Troy Hunt's Blog
美团技术团队
T
Threatpost
K
Kaspersky official blog
V
V2EX
Scott Helme
Scott Helme
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
V
Vulnerabilities – Threatpost
Last Week in AI
Last Week in AI
PCI Perspectives
PCI Perspectives
Google Online Security Blog
Google Online Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
Engineering at Meta
Engineering at Meta
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
I
InfoQ
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
酷 壳 – CoolShell
酷 壳 – CoolShell
GbyAI
GbyAI
L
LINUX DO - 最新话题
T
The Exploit Database - CXSecurity.com
L
LangChain Blog
S
Security @ Cisco Blogs
The Last Watchdog
The Last Watchdog
H
Hacker News: Front Page
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
TaoSecurity Blog
TaoSecurity Blog

博客园 - 蔡秋心

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