
Table of Contents
| Index
| Examples
| Copyright
















Chapter 1.
Master Projects and Solutions

Section 1.1.
Hacks 1-5

Manage Projects and Solutions

Master Assembly and Project References

Organize Projects and Solutions

Hack the Project and Solution Files

Remove SourceSafe Bindings

Chapter 2.
Master the Editor

Section 2.1.
Hacks 6-15

Master the Clipboard

Make Pasting into Visual Studio Easier

Master IntelliSense

Master Regions

Add Guidelines to the Text Editor

Select the Best Editor

Customize Syntax Coloring

Edit the Most Recent File and Project Lists

Refactor Your Code

Use and Share Code Snippets

Chapter 3.
Navigating Visual Studio

Section 3.1.
Hacks 16-23

Take Control of Your Workspace

Find Files Quickly

Search Files Quickly

Search for Patterns in Your Files

Navigate Your Source Code

Never Forget a TODO Again

Hack the Mouse

Enhance the Tabs in Visual Studio

Chapter 4.
Customizing Visual Studio

Section 4.1.
Hacks 24-35

Create Your Own Shortcuts

Customize Menus and Toolbars

Create Custom Window Layouts

Customize the Toolbox

Package Your Toolbox Settings

Add Support for Nonstandard File Extensions

Hack the Registry

Save and Move Your IDE Settings

Enable IntelliSense for HTML and XML Documents

Add an External Tool

Customize Your Project Build Process

Modify the Build Output and Navigate the Results

Chapter 5.
Debugging

Section 5.1.
Hacks 36-43

Set Breakpoints

Troubleshoot Breakpoints

Customize Visual Studio''''s Reaction to Exceptions

Debug Scripting Code

Debug SQL Server

Debug a Running Process

Debug a Failing Application

Write a Custom Visualizer

Chapter 6.
Speed Hacks

Section 6.1.
Hacks 44-58

Speed Up Visual Studio

Load Files from the Command Prompt

Master the Command Window

Build a Custom Tool

Extend the Application Configuration File

Generate Strongly Typed DataSets

Define Templates for Generating Code

Create a Macro

Generate Code with Macros

Create Connection Strings Quickly

Quickly Sign Assemblies

Update Project References Quickly

Automatically Add using and Imports Statements

Insert Commonly Used Code Automatically

Move Quickly Between Source Control Providers

Chapter 7.
Help and Research

Section 7.1.
Hacks 59-67

Get Help

Search the Internet from Visual Studio

Redirect Help to Google

Use P/Invoke with Ease

Examine the IL Generated by Your Code

Examine the Innards of Assemblies

Follow the Rules with FxCop

Generate Statistics on Your C# Code

Profile Heap Allocations

Chapter 8.
Comments and Documentation

Section 8.1.
Hacks 68-72

Master C# XML Comments

Create Comments Faster

Create XML Comments with VB.NET

Create Documentation from XML Comments

Integrate Your Own Documentation into Visual Studio

Chapter 9.
Server Explorer Hacks

Section 9.1.
Hacks 73-76

Access Performance Counters

Diagram and Modify a Database

Script Your Database

Enumerate Processes, Drives, Shares, and More

Chapter 10.
Work with Visual Studio Tools

Section 10.1.
Hacks 77-82

Master the Visual Studio Command Prompt

Launch Visual Studio from the Command Prompt

Stress Test Web Applications

Obfuscate Your Code

Generate Code from UML

Generate UML Design Documents from Code

Chapter 11.
Visual Studio Tools for Office

Section 11.1.
Hacks 83-85

Install Visual Studio Tools for Office 2003

Create a Command Bar in Word 2003

Display a Windows Form from Excel 2003

Chapter 12.
Extending Visual Studio

Section 12.1.
Hacks 86-91

Automate Visual Studio

Access Visual Studio from Standalone Applications

Create a File Template

Writing a Visual Studio Add-in

Find the Name of That Command Bar

Change the Icon for Your Add-in

Chapter 13.
Enhancing Visual Studio

Section 13.1.
Hacks 92-100

Manage Add-ins

Run Unit Tests Inside Visual Studio

Spellcheck Your Code and Comments

View an Outline of Your Controls

Blog Code from Visual Studio

Collapse and Expand Your Code

Combine the Visual Studio Command Prompt and the Command Window

Generate Web Services Code

Test Regular Expressions in Visual Studio

