Thursday, October 13, 2011

Coding Faster: Getting More Productive with Microsoft® Visual Studio®.2011


Book Details:
Coding Faster: Getting More Productive with Microsoft® Visual Studio®
Published: August 24, 2011
Accompanying Media: N/A
Author: Zain Naboulsi & Sara Ford
Language: English
Length: 544 Pages
Level: N/A
ISBN 13: 9780735649927
Technology: Microsoft Visual Studio 2010
ISBN 10: 0-7356-4992-8
Format: N/A

About the Book
Expert advice to help you work smarter and increase your productivity with Visual Studio.

Work smarter and increase your productivity with expert tips and tricks for using Microsoft Visual Studio. This quick reference provides practical advice and shortcuts for the code editor, visual designers, search capabilities, debugger, and other features of the IDE through several versions. Get practical insights into how Visual Studio works, whether you're a beginner or an experienced user.

Discover how to:
Change development settings and keyboard mappings to optimize your efficiency

Understand your options when initiating a new project

Use the Editor more effectively with tips on selecting and manipulating code

Search your code for references, symbols, and other items

Reduce the amount of time you spend debugging your code

Create Visual Studio extensions for greater development productivity
 
Table of Contents 
Foreword Introduction
Part I Productivity Techniques
1 Getting Started
01 01 Running Multiple Versions of Visual Studio Side-By-Side
01 02 Getting Table of Contents in Visual Studio 2010 Online Help
Online Help
Using Classic View
01 03 Exporting Your Environment Settings
01 04 Remove Projects from the Recent Projects List
01 05 AutoRecover
01 06 Improving Performance by Changing the Visual Experience in
Visual Studio 2010
01 07 Change Tool Window Animations
01 08 Importing or Changing Your Environment Settings
01 09 Change Your Visual Studio Color Scheme
Seeing What You Like
Getting the Goods
Changing Your Colors
Resetting the Colors
01 10 Reset All Your Development Settings
01 11 Customize Your Toolbars in Visual Studio 2010: Toolbars Tab
Custom Toolbars
01 12 Customize Your Toolbars in Visual Studio 2010: Commands Tab
Rearrange
Controls
Buttons
Modify Selection
01 13 Visual Studio Logging
01 14 Visual Studio Safe Mode
01 15 The ResetSettings Switch
Two Different Machines
Same Machine
2 Projects and Items
02 01 Search for Project Templates in the New Project Dialog Box
Good News
Bad News
More Good News
02 02 Recent Project Templates in the New Project Dialog Box
02 03 Using Older Frameworks with Multi-Targeting
02 04 Create Web Application or Virtual Directory in IIS
02 05 Multiple Startup Projects
02 06 Change the Default New Project Location
02 07 Track Active Item in Solution Explorer
02 08 Type-Ahead Selection Support in Solution Explorer
02 09 Using Solution Folders
Adding Solution Folders
Removing Solution Folders
02 10 Navigating Property Tabs in the Project Properties
02 11 Pin a Project to the Recent Projects List
02 12 Creating Temporary Projects
02 13 Create Your Own Item Template
02 14 Roll Your Own Project Template with the Export Template Wizard
02 15 Organizing Your Custom Item Templates
02 16 Organizing Your Custom Project Templates
02 17 Reorganize the Default Item Templates
02 18 Reorganize the Default Project Templates
02 19 Change the Templates that Appear in the New Project or
Item Dialog Boxes
3 Getting to Know the Environment
03 01 Rearrange Windows in Visual Studio 2010 Using the Guide Diamond
03 02 Dock a Floating Tool Window Back to Its Previous Location
03 03 Cycle Through Your Open Tool Windows
03 04 Closing Tool Windows
03 05 Expand and Collapse All in the Toolbox
03 06 Searching in the Toolbox
03 07 Navigate Among Tabs in the Toolbox
03 08 Window Layouts: The Four Modes
Design View
Debugging View
Full Screen
File View
03 09 Window Layouts: Design, Debug, and Full Screen
Design Mode
Debug Mode
Full Screen Mode
03 10 Working with Tabs in the Toolbox
Creating Tabs
Adding Items
Custom Controls
Renaming Tabs
Deleting Tabs
03 11 Using Additional Browsers for Web Development
Adding New Browsers
Changing the Default Browser
Browser Window Size
Removing Browsers
03 12 Auto-Hide All Tool Windows
03 13 Showing Hidden Tool Windows with the Auto Hide Channel
03 14 Moving Tool Windows Around with Your Keyboard
03 15 Keyboard Access to a Tool Window’s Toolbar
03 16 Command Prompt History
03 17 Command Prompt Tab Completion
Simple Search
Wildcard Search
Finally
03 18 Undock and Dock a Single Tool Window in a Group
Undock
Dock
03 19 Understanding Commands: Simple Commands
03 20 Understanding Commands: Aliases
Create a New Alias
Viewing Assigned Aliases
Delete an Alias
03 21 Understanding Commands: Arguments and Switches
Basic Use
Arguments and Switches
List Current Options
Reset Options
Using the Arguments and Switches
Make an Alias
03 22 Testing a Command
03 23 Understanding Commands: Running Commands
Shortcuts
Command Window
Immediate Window
Find Combo Box
03 24 Find Keyboard Shortcuts
03 25 Keyboard Shortcuts: Additional Mapping Schemes
03 26 Keyboard Shortcuts: Creating New Shortcuts
Reset
03 27 Keyboard Shortcuts: Reset All Your Shortcuts
03 28 Understanding Commands: Logging Commands
Arguments
Example
03 29 Export Your Window Layouts
03 30 Stop the Toolbox from Auto-Populating from the Solution
03 31 Using External Tools
Use Output Window
Treat Output As Unicode
Prompt For Arguments
Close On Exit
03 32 Create Keyboard Accelerators for External Tools
03 33 Exporting Your Command Window Aliases and External Tools List
03 34 Creating and Using a Macro
03 35 Visual Studio Image Library
Types of Files
Image Library Contents
Using the Images
4 Working with Documents
04 01 Insert Documents to the Right of Existing Tabs
04 02 Recent Files
04 03 Working with Documents on Multiple Monitors
04 04 Navigate Open Document Windows
04 05 Close the Current Document Window
04 06 Open a File Location from the File Tab
04 07 Open the File Menu Drop-Down List from Your Keyboard
04 08 Using the IDE Navigator
Navigator Areas
04 09 Multiple Views of the Same Document
Special Note for VB Users in Visual Studio 2010
Multiple Views
04 10 Closing Just the Selected Files You Want
04 11 Understanding the File Open Location
04 12 Show Previous Versions
04 13 Using Custom File Extension Associations
5 Finding Things
05 01 Repeat Your Last Search
05 02 Using Quick Find
Find What
Look In
Find Options
Buttons
05 03 Using a Simple Quick Replace
05 04 Hide the Quick Find and Quick Replace Tool Window After
the First Match
05 05 Undo Quick Replace and Replace in Files
Quick Replace (Ctrl+H)
Replace in Files (Ctrl+Shift+H)
05 06 Using the Find Combo Box Keyboard Shortcuts
Find (Ctrl+D)
Run Command (Ctrl+/)
Go To Line (Ctrl+G)
Go To File (Ctrl+Shift+G)
Set a Breakpoint (F9)

05 07 Using Incremental Search
05 08 Search the Currently Selected String Without the Find Window
05 09 Find In Files: Find Options
Find What
05 10 Find In Files: Result Options
Find Results [1,2] Window
Navigation
Clear All
Display File Names Only
Keep Modifed Files Open After Replace All
05 11 Replace In Files: Basic Options
Find Options
Replace With
Result Options
Execution
05 12 Go To Defnition for Cascading Style Sheets
05 13 How to Use Navigate To
05 14 Understanding Find Symbol
Find What
Look In
Find Options
Search Results
05 15 Find Symbol Results Shortcuts
Go To Defnition (F12)
Go To Declaration (Ctrl+F12)
Go To Reference (Shift+F12)
Browse Defnition
Copy (Ctrl+C)
Clear All
05 16 Replace in Files: Tagged Expressions
Example
05 17 Customize Results in Find In Files Searches
Variables
6 Writing Code
06 01 Zoom In or Out of Text in the Editor Using the Mouse Wheel
06 02 Zoom In or Out of Text in the Editor
Combo Box
Keyboard
Universal Zoom
06 03 How to Keep from Accidentally Copying a Blank Line
06 04 Make IntelliSense Transparent
06 05 Cut or Delete the Current Line
Cut
Delete
06 06 Using the New IntelliSense: Keywords
06 07 Using the New IntelliSense: Pascal Case
06 08 Comment and Uncomment in Web Pages
Comment
Uncomment
06 09 Insert a Blank Line Above or Below the Current Line
06 10 Transpose Lines, Words, and Characters
06 11 How to Cycle Through the Clipboard Ring
06 12 Using the Undo and Redo Stack
06 13 Undo and Redo Global Actions
06 14 How to Use Reference Highlighting
Navigation
Turning it Off
06 15 Moving or Selecting Between Matching Braces
(C++, C# Only)
Moving
Selecting
06 16 Invoke Statement Completion
06 17 Move Between the Common Tab and All Tab in Statement
Completion (VB)
06 18 Using Parameter Information
06 19 Using Quick Info
06 20 Word Completion
06 21 Drag and Drop Code into the Toolbox
06 22 Using Smart Tags from the Keyboard
06 23 Organize Using Statements (C# Only)
Remove Unused Usings
Sort Usings
Remove and Sort
06 24 Switch Between Design and Source in Web Projects
Split View
06 25 Toggle Designer
06 26 Change the Default View in the HTML Editor
06 27 Jump Back to the Editor from Just About Anywhere
06 28 Replacing Text with a Box Selection
06 29 Pasting the Contents of One Box Selection into Another
06 30 Pasting a Single Selection into a Box Selection
06 31 Using Zero-Length Box Selection
06 32 View White Space
06 33 Collapsing Your Code with Outlining
Minus Sign
Vertical Line
Click Anywhere in Area (Keyboard Shortcut)
Click Anywhere in Area (Menu Item)
06 34 Using Hide Selection
06 35 Collapse to Defnitions with Outlining
06 36 Cut, Copy, and Paste Collapsed Code with Outlining
06 37 Understanding Word Wrap
06 38 Properties Window Keyboard Shortcuts
Working with the Tool Window
Working with Categories
Property Items
06 39 Document Outline: Web Projects
06 40 Inserting Code Snippets
Tab
Keyboard Shortcut and Context Menu
Result
06 41 Surround with a Code Snippet
06 42 Using Code Snippets
06 43 HTML Code Snippets
06 44 JavaScript Code Snippets
06 45 Using the Code Snippets Manager
06 46 Insert Quotes When Typing Attribute Values
06 47 Format the Current Document or Selection (Web)
06 48 Using the Navigation Bar
06 49 HTML Editor Tag Navigation
06 50 Format HTML on Paste
06 51 Display HTML/CSS Warnings as Errors
06 52 Updating JScript IntelliSense
06 53 Using JScript Libraries in Other JScript Files
06 54 Create New Code Snippets from Existing Ones
06 55 Understanding the Navigation Stack
06 56 Navigate Backward and Navigate Forward Using Go Back Markers
06 57 Select from the Current Cursor Location to the Last Go Back Marker
06 58 Track Changes in the Editor
06 59 Edit Read-Only Files
Edit In-Memory
Make Writable
06 60 Choosing CSS Versions
Dedicated Style Sheets
Embedded Styles
Finally
06 61 Understanding Tag Specifc Options
Exploring the Tag Specifc Options Dialog Box
Finally
7 Debugging
07 01 Setting a Breakpoint with Code
Compiler Directive
07 02 Using Ctrl+Alt+B to Open the Breakpoints Window
07 03 Adding Labels to Breakpoints
07 04 Enable or Disable All Breakpoints
07 05 TODO Comments in the Task List
VB
C#
C++
07 06 Create Custom Tokens for the Task List
Sharing Tokens
07 07 Create Code Shortcuts in the Task List
07 08 Code Defnition Window
07 09 Save Changes Before Building
Save Changes To Open Documents Only
Prompt To Save All Changes
Don’t Save Any Changes
07 10 Navigate Errors in the Error List
07 11 Ordering and Multicolumn Sorting in Tool Windows
Column Ordering
Multicolumn Sorting
07 12 Pin a DataTip to Source Code
07 13 Create a Floating DataTip
07 14 Adding Comments to a DataTip
07 15 Use a DataTip to Edit a Value
07 16 DataTip Value from the Last Debug Session
07 17 Import and Export DataTips
07 18 Using the Call Hierarchy
07 19 Searching Breakpoints
07 20 Breakpoint Hit Count
Break When The Hit Count Is Equal To
Break When The Hit Count Is A Multiple Of
Break When The Hit Count Is Greater Than Or Equal To
07 21 Set a Breakpoint on a Function
Breakpoints Window
07 22 Set a Simple Breakpoint Condition
Is True
Has Changed
Special Notes
07 23 Set a Complex Breakpoint Condition
07 24 Setting a Breakpoint Filter
07 25 Setting a Tracepoint in Source Code
Setting Tracepoints
Change Default Message
07 26 Import and Export Breakpoints
07 27 Run to Cursor

07 28 Using the Exception Assistant
Exception Object and Description
Troubleshooting Tips
Help Online
Actions
Turning Off the Exception Assistant
Unwind The Call Stack On Unhandled Exceptions
07 29 Use a Specifc Port for the Development Server (Web Applications)
07 30 Application and Page Level Tracing
Application Level Tracing
Attributes
Trace Details
Page Level Tracing
Combined Tracing
Finally
07 31 The Watch Window: Watching and Changing Values
Watch Expressions
Watch Window
Creating a Watch Expression
Changing Values
07 32 Understanding QuickWatch
What Does It Do?
Other Options
07 33 The Watch Window: Visualizers
07 34 The Watch Window: Refreshing Data
Refresh Icons
Turning It Off
07 35 The Watch Window: Adding Watches from Variable Windows
Locals Window
Autos Window
QuickWatch
Watch [1, 2, 3, 4] Window
Keyboard Mapping

07 36 Create Folders in Class View
Create a New Folder
Putting Items into Your Folder
Removing Items from Folders
Creating Subfolders
Deleting Folders
07 37 Search in Class View
View ClassViewSearch Command
Use a Previous Search
Clear Your Search
07 38 Synchronize Your Class View
07 39 The Misnamed and Misunderstood Object Browser
07 40 The Object Browser: Setting the Browsing Scope
Browse
Edit Custom Component Set
07 41 The Object Browser: Navigation and References
Navigation
References
07 42 The Exceptions Dialog Box
07 43 Setting a Breakpoint in the Call Stack Window
07 44 Setting a Tracepoint in the Call Stack Window
07 45 Using the WPF Tree Visualizer
07 46 Understanding Break All Processes When One Process Breaks
07 47 Changing Context in the Locals Window
Debug Location Toolbar
Process
Thread
Stack Frame
07 48 Understanding the Autos Window
Changing Values
Current and Previous Statement
VB Shows Three Statements on Either Side

Part II Extensions for Visual Studio
8 Visual Studio Extensions
Introducing Visual Studio Extensions
Installing an Extension
Installing from the Extension Manager
Installing from the Visual Studio Gallery
Installing Through Xcopy
Inside a vsix File
Disabling an Extension
Uninstalling an Extension
Resources for Developing Extensions
08 01 Create Themes Using All Visual Studio Elements
Visual Studio Color Theme Editor
To Use
To Customize
More Information
08 02 Insert Images into Your Code
Image Insertion
To Use
To Save
To Customize
08 03 Add Visual Guidelines to Your Code
Editor Guidelines
To Install
To Use
To Customize
08 04 Get More IntelliSense in Your XAML Editor
XAML IntelliSense Presenter
To Use
For More Information
08 05 Sync the Solution Explorer to the Current File
Solution Explorer Tools
To Use
08 06 Add PowerCommands Options to the IDE
PowerCommands for Visual Studio 2010
To Use
For More Information

08 07 Use Emacs Commands in the Editor
Emacs Emulation
To Use
To Uninstall
More Information
08 08 Submit to “The Daily WTF”
Share Bad Code with the World
To Install
To Use
More Information
08 09 Diff Files Using the Editor
CodeCompare
To Install
To Use
Features
To Uninstall
More Information
08 10 Run Windows PowerShell Within the IDE
To Use
More Information
08 11 Visualize OData in a Graphical View
Open Data Protocol Visualizer
To Use
More Information
08 12 Run VIM Commands in the Editor
To Use
More Information
08 13 Check Spelling in Your Code
Spell Checker
To Use
08 14 Zoom Across All Files
Presentation Zoom
To Use
Control Zooming with a Slider Using the
ZoomEditorMargin Extension
08 15 View Code Blocks Using Vertical Lines
StructureAdornment
To Use
To Customize
To Uninstall
08 16 Get a Bird’s-Eye View of Your Code in an Editor Margin
AllMargins
To Use
To Uninstall
08 17 Build Projects from the Windows 7 Taskbar
Win7 Taskbar Extension
To Install
To Use
To Uninstall
08 18 Triple-Click to Select an Entire Line
Triple Click
More Information
08 19 Create Regular Expressions Within Your Code
Regex Editor
To Use
More Information
08 20 Get More Productivity Tools in the IDE
To Use
To Customize the Document Tab Well User Interface
08 21 Create and Find Code Snippets
Snippet Designer
To Use
More Information
08 22 Document Your Code with Three Keystrokes
GhostDoc
To Use
To Customize
More Information

08 23 Customize Visual Studio Using Windows PowerShell
StudioShell
To Use
To Get Help
To Customize
More Information
A Visual Studio Keyboard Shortcut Posters
Index

About the Authors

Zain Naboulsi is a Senior Developer Evangelist at Microsoft® and frequently lectures on Visual Studio® topics.

Sara Ford is a developer evangelist for Microsoft, and author of the Microsoft Press book Microsoft Visual Studio Tips

(2008).

Download

By: Shahen Gasparyan


Foreword
Introduction
Part I Productivity Techniques
1 Getting Started
01 01 Running Multiple Versions of Visual Studio Side-By-Side
01 02 Getting Table of Contents in Visual Studio 2010 Online Help
Online Help
Using Classic View
01 03 Exporting Your Environment Settings
01 04 Remove Projects from the Recent Projects List
01 05 AutoRecover
01 06 Improving Performance by Changing the Visual Experience in
Visual Studio 2010
01 07 Change Tool Window Animations
01 08 Importing or Changing Your Environment Settings
01 09 Change Your Visual Studio Color Scheme
Seeing What You Like
Getting the Goods
Changing Your Colors
Resetting the Colors
01 10 Reset All Your Development Settings
01 11 Customize Your Toolbars in Visual Studio 2010: Toolbars Tab
Custom Toolbars
01 12 Customize Your Toolbars in Visual Studio 2010: Commands Tab
Rearrange
Controls
Buttons
Modify Selection
01 13 Visual Studio Logging
01 14 Visual Studio Safe Mode
01 15 The ResetSettings Switch
Two Different Machines
Same Machine
2 Projects and Items
02 01 Search for Project Templates in the New Project Dialog Box
Good News
Bad News
More Good News
02 02 Recent Project Templates in the New Project Dialog Box
02 03 Using Older Frameworks with Multi-Targeting
02 04 Create Web Application or Virtual Directory in IIS
02 05 Multiple Startup Projects
02 06 Change the Default New Project Location
02 07 Track Active Item in Solution Explorer
02 08 Type-Ahead Selection Support in Solution Explorer
02 09 Using Solution Folders
Adding Solution Folders
Removing Solution Folders
02 10 Navigating Property Tabs in the Project Properties
02 11 Pin a Project to the Recent Projects List
02 12 Creating Temporary Projects
02 13 Create Your Own Item Template
02 14 Roll Your Own Project Template with the Export Template Wizard
02 15 Organizing Your Custom Item Templates
02 16 Organizing Your Custom Project Templates
02 17 Reorganize the Default Item Templates
02 18 Reorganize the Default Project Templates
02 19 Change the Templates that Appear in the New Project or
Item Dialog Boxes
3 Getting to Know the Environment
03 01 Rearrange Windows in Visual Studio 2010 Using the Guide Diamond
03 02 Dock a Floating Tool Window Back to Its Previous Location
03 03 Cycle Through Your Open Tool Windows
03 04 Closing Tool Windows
03 05 Expand and Collapse All in the Toolbox
03 06 Searching in the Toolbox
03 07 Navigate Among Tabs in the Toolbox
03 08 Window Layouts: The Four Modes
Design View
Debugging View
Full Screen
File View
03 09 Window Layouts: Design, Debug, and Full Screen
Design Mode
Debug Mode
Full Screen Mode
03 10 Working with Tabs in the Toolbox
Creating Tabs
Adding Items
Custom Controls
Renaming Tabs
Deleting Tabs
03 11 Using Additional Browsers for Web Development
Adding New Browsers
Changing the Default Browser
Browser Window Size
Removing Browsers
03 12 Auto-Hide All Tool Windows
03 13 Showing Hidden Tool Windows with the Auto Hide Channel
03 14 Moving Tool Windows Around with Your Keyboard
03 15 Keyboard Access to a Tool Window’s Toolbar
03 16 Command Prompt History
03 17 Command Prompt Tab Completion
Simple Search
Wildcard Search
Finally
03 18 Undock and Dock a Single Tool Window in a Group
Undock
Dock
03 19 Understanding Commands: Simple Commands
03 20 Understanding Commands: Aliases
Create a New Alias
Viewing Assigned Aliases
Delete an Alias
03 21 Understanding Commands: Arguments and Switches
Basic Use
Arguments and Switches
List Current Options
Reset Options
Using the Arguments and Switches
Make an Alias
03 22 Testing a Command
03 23 Understanding Commands: Running Commands
Shortcuts
Command Window
Immediate Window
Find Combo Box
03 24 Find Keyboard Shortcuts
03 25 Keyboard Shortcuts: Additional Mapping Schemes
03 26 Keyboard Shortcuts: Creating New Shortcuts
Reset
03 27 Keyboard Shortcuts: Reset All Your Shortcuts
03 28 Understanding Commands: Logging Commands
Arguments
Example
03 29 Export Your Window Layouts
03 30 Stop the Toolbox from Auto-Populating from the Solution
03 31 Using External Tools
Use Output Window
Treat Output As Unicode
Prompt For Arguments
Close On Exit
03 32 Create Keyboard Accelerators for External Tools
03 33 Exporting Your Command Window Aliases and External Tools List
03 34 Creating and Using a Macro
03 35 Visual Studio Image Library
Types of Files
Image Library Contents
Using the Images
4 Working with Documents
04 01 Insert Documents to the Right of Existing Tabs
04 02 Recent Files
04 03 Working with Documents on Multiple Monitors
04 04 Navigate Open Document Windows
04 05 Close the Current Document Window
04 06 Open a File Location from the File Tab
04 07 Open the File Menu Drop-Down List from Your Keyboard
04 08 Using the IDE Navigator
Navigator Areas
04 09 Multiple Views of the Same Document
Special Note for VB Users in Visual Studio 2010
Multiple Views
04 10 Closing Just the Selected Files You Want
04 11 Understanding the File Open Location
04 12 Show Previous Versions
04 13 Using Custom File Extension Associations
5 Finding Things
05 01 Repeat Your Last Search
05 02 Using Quick Find
Find What
Look In
Find Options
Buttons
05 03 Using a Simple Quick Replace
05 04 Hide the Quick Find and Quick Replace Tool Window After
the First Match
05 05 Undo Quick Replace and Replace in Files
Quick Replace (Ctrl+H)
Replace in Files (Ctrl+Shift+H)
05 06 Using the Find Combo Box Keyboard Shortcuts
Find (Ctrl+D)
Run Command (Ctrl+/)
Go To Line (Ctrl+G)
Go To File (Ctrl+Shift+G)
Set a Breakpoint (F9)

05 07 Using Incremental Search
05 08 Search the Currently Selected String Without the Find Window
05 09 Find In Files: Find Options
Find What
05 10 Find In Files: Result Options
Find Results [1,2] Window
Navigation
Clear All
Display File Names Only
Keep Modifed Files Open After Replace All
05 11 Replace In Files: Basic Options
Find Options
Replace With
Result Options
Execution
05 12 Go To Defnition for Cascading Style Sheets
05 13 How to Use Navigate To
05 14 Understanding Find Symbol
Find What
Look In
Find Options
Search Results
05 15 Find Symbol Results Shortcuts
Go To Defnition (F12)
Go To Declaration (Ctrl+F12)
Go To Reference (Shift+F12)
Browse Defnition
Copy (Ctrl+C)
Clear All
05 16 Replace in Files: Tagged Expressions
Example
05 17 Customize Results in Find In Files Searches
Variables
6 Writing Code
06 01 Zoom In or Out of Text in the Editor Using the Mouse Wheel
06 02 Zoom In or Out of Text in the Editor
Combo Box
Keyboard
Universal Zoom
06 03 How to Keep from Accidentally Copying a Blank Line
06 04 Make IntelliSense Transparent
06 05 Cut or Delete the Current Line
Cut
Delete
06 06 Using the New IntelliSense: Keywords
06 07 Using the New IntelliSense: Pascal Case
06 08 Comment and Uncomment in Web Pages
Comment
Uncomment
06 09 Insert a Blank Line Above or Below the Current Line
06 10 Transpose Lines, Words, and Characters
06 11 How to Cycle Through the Clipboard Ring
06 12 Using the Undo and Redo Stack
06 13 Undo and Redo Global Actions
06 14 How to Use Reference Highlighting
Navigation
Turning it Off
06 15 Moving or Selecting Between Matching Braces
(C++, C# Only)
Moving
Selecting
06 16 Invoke Statement Completion
06 17 Move Between the Common Tab and All Tab in Statement
Completion (VB)
06 18 Using Parameter Information
06 19 Using Quick Info
06 20 Word Completion
06 21 Drag and Drop Code into the Toolbox
06 22 Using Smart Tags from the Keyboard
06 23 Organize Using Statements (C# Only)
Remove Unused Usings
Sort Usings
Remove and Sort
06 24 Switch Between Design and Source in Web Projects
Split View
06 25 Toggle Designer
06 26 Change the Default View in the HTML Editor
06 27 Jump Back to the Editor from Just About Anywhere
06 28 Replacing Text with a Box Selection
06 29 Pasting the Contents of One Box Selection into Another
06 30 Pasting a Single Selection into a Box Selection
06 31 Using Zero-Length Box Selection
06 32 View White Space
06 33 Collapsing Your Code with Outlining
Minus Sign
Vertical Line
Click Anywhere in Area (Keyboard Shortcut)
Click Anywhere in Area (Menu Item)
06 34 Using Hide Selection
06 35 Collapse to Defnitions with Outlining
06 36 Cut, Copy, and Paste Collapsed Code with Outlining
06 37 Understanding Word Wrap
06 38 Properties Window Keyboard Shortcuts
Working with the Tool Window
Working with Categories
Property Items
06 39 Document Outline: Web Projects
06 40 Inserting Code Snippets
Tab
Keyboard Shortcut and Context Menu
Result
06 41 Surround with a Code Snippet
06 42 Using Code Snippets
06 43 HTML Code Snippets
06 44 JavaScript Code Snippets
06 45 Using the Code Snippets Manager
06 46 Insert Quotes When Typing Attribute Values
06 47 Format the Current Document or Selection (Web)
06 48 Using the Navigation Bar
06 49 HTML Editor Tag Navigation
06 50 Format HTML on Paste
06 51 Display HTML/CSS Warnings as Errors
06 52 Updating JScript IntelliSense
06 53 Using JScript Libraries in Other JScript Files
06 54 Create New Code Snippets from Existing Ones
06 55 Understanding the Navigation Stack
06 56 Navigate Backward and Navigate Forward Using Go Back Markers
06 57 Select from the Current Cursor Location to the Last Go Back Marker
06 58 Track Changes in the Editor
06 59 Edit Read-Only Files
Edit In-Memory
Make Writable
06 60 Choosing CSS Versions
Dedicated Style Sheets
Embedded Styles
Finally
06 61 Understanding Tag Specifc Options
Exploring the Tag Specifc Options Dialog Box
Finally
7 Debugging
07 01 Setting a Breakpoint with Code
Compiler Directive
07 02 Using Ctrl+Alt+B to Open the Breakpoints Window
07 03 Adding Labels to Breakpoints
07 04 Enable or Disable All Breakpoints
07 05 TODO Comments in the Task List
VB
C#
C++
07 06 Create Custom Tokens for the Task List
Sharing Tokens
07 07 Create Code Shortcuts in the Task List
07 08 Code Defnition Window
07 09 Save Changes Before Building
Save Changes To Open Documents Only
Prompt To Save All Changes
Don’t Save Any Changes
07 10 Navigate Errors in the Error List
07 11 Ordering and Multicolumn Sorting in Tool Windows
Column Ordering
Multicolumn Sorting
07 12 Pin a DataTip to Source Code
07 13 Create a Floating DataTip
07 14 Adding Comments to a DataTip
07 15 Use a DataTip to Edit a Value
07 16 DataTip Value from the Last Debug Session
07 17 Import and Export DataTips
07 18 Using the Call Hierarchy
07 19 Searching Breakpoints
07 20 Breakpoint Hit Count
Break When The Hit Count Is Equal To
Break When The Hit Count Is A Multiple Of
Break When The Hit Count Is Greater Than Or Equal To
07 21 Set a Breakpoint on a Function
Breakpoints Window
07 22 Set a Simple Breakpoint Condition
Is True
Has Changed
Special Notes
07 23 Set a Complex Breakpoint Condition
07 24 Setting a Breakpoint Filter
07 25 Setting a Tracepoint in Source Code
Setting Tracepoints
Change Default Message
07 26 Import and Export Breakpoints
07 27 Run to Cursor

07 28 Using the Exception Assistant
Exception Object and Description
Troubleshooting Tips
Help Online
Actions
Turning Off the Exception Assistant
Unwind The Call Stack On Unhandled Exceptions
07 29 Use a Specifc Port for the Development Server (Web Applications)
07 30 Application and Page Level Tracing
Application Level Tracing
Attributes
Trace Details
Page Level Tracing
Combined Tracing
Finally
07 31 The Watch Window: Watching and Changing Values
Watch Expressions
Watch Window
Creating a Watch Expression
Changing Values
07 32 Understanding QuickWatch
What Does It Do?
Other Options
07 33 The Watch Window: Visualizers
07 34 The Watch Window: Refreshing Data
Refresh Icons
Turning It Off
07 35 The Watch Window: Adding Watches from Variable Windows
Locals Window
Autos Window
QuickWatch
Watch [1, 2, 3, 4] Window
Keyboard Mapping

07 36 Create Folders in Class View
Create a New Folder
Putting Items into Your Folder
Removing Items from Folders
Creating Subfolders
Deleting Folders
07 37 Search in Class View
View ClassViewSearch Command
Use a Previous Search
Clear Your Search
07 38 Synchronize Your Class View
07 39 The Misnamed and Misunderstood Object Browser
07 40 The Object Browser: Setting the Browsing Scope
Browse
Edit Custom Component Set
07 41 The Object Browser: Navigation and References
Navigation
References
07 42 The Exceptions Dialog Box
07 43 Setting a Breakpoint in the Call Stack Window
07 44 Setting a Tracepoint in the Call Stack Window
07 45 Using the WPF Tree Visualizer
07 46 Understanding Break All Processes When One Process Breaks
07 47 Changing Context in the Locals Window
Debug Location Toolbar
Process
Thread
Stack Frame
07 48 Understanding the Autos Window
Changing Values
Current and Previous Statement
VB Shows Three Statements on Either Side

Part II Extensions for Visual Studio
8 Visual Studio Extensions
Introducing Visual Studio Extensions
Installing an Extension
Installing from the Extension Manager
Installing from the Visual Studio Gallery
Installing Through Xcopy
Inside a vsix File
Disabling an Extension
Uninstalling an Extension
Resources for Developing Extensions
08 01 Create Themes Using All Visual Studio Elements
Visual Studio Color Theme Editor
To Use
To Customize
More Information
08 02 Insert Images into Your Code
Image Insertion
To Use
To Save
To Customize
08 03 Add Visual Guidelines to Your Code
Editor Guidelines
To Install
To Use
To Customize
08 04 Get More IntelliSense in Your XAML Editor
XAML IntelliSense Presenter
To Use
For More Information
08 05 Sync the Solution Explorer to the Current File
Solution Explorer Tools
To Use
08 06 Add PowerCommands Options to the IDE
PowerCommands for Visual Studio 2010
To Use
For More Information

08 07 Use Emacs Commands in the Editor
Emacs Emulation
To Use
To Uninstall
More Information
08 08 Submit to “The Daily WTF”
Share Bad Code with the World
To Install
To Use
More Information
08 09 Diff Files Using the Editor
CodeCompare
To Install
To Use
Features
To Uninstall
More Information
08 10 Run Windows PowerShell Within the IDE
To Use
More Information
08 11 Visualize OData in a Graphical View
Open Data Protocol Visualizer
To Use
More Information
08 12 Run VIM Commands in the Editor
To Use
More Information
08 13 Check Spelling in Your Code
Spell Checker
To Use
08 14 Zoom Across All Files
Presentation Zoom
To Use
Control Zooming with a Slider Using the
ZoomEditorMargin Extension
08 15 View Code Blocks Using Vertical Lines
StructureAdornment
To Use
To Customize
To Uninstall
08 16 Get a Bird’s-Eye View of Your Code in an Editor Margin
AllMargins
To Use
To Uninstall
08 17 Build Projects from the Windows 7 Taskbar
Win7 Taskbar Extension
To Install
To Use
To Uninstall
08 18 Triple-Click to Select an Entire Line
Triple Click
More Information
08 19 Create Regular Expressions Within Your Code
Regex Editor
To Use
More Information
08 20 Get More Productivity Tools in the IDE
To Use
To Customize the Document Tab Well User Interface
08 21 Create and Find Code Snippets
Snippet Designer
To Use
More Information
08 22 Document Your Code with Three Keystrokes
GhostDoc
To Use
To Customize
More Information
08 23 Customize Visual Studio Using Windows PowerShell
StudioShell
To Use
To Get Help
To Customize
More Information
A Visual Studio Keyboard Shortcut Posters
Index

About the Authors

Zain Naboulsi is a Senior Developer Evangelist at Microsoft® and frequently lectures on Visual Studio® topics.

Sara Ford is a developer evangelist for Microsoft, and author of the Microsoft Press book Microsoft Visual Studio Tips (2008)

Download
 

By: Shahen Gasparyan


No comments:

Post a Comment