Iowa Code Camp 2009 - Visual Studio Tips and Tricks: Kevin Grossnicklaus
Blog,
ArchitectNow
- Microsoft one-page PDF shortcuts for C# for 2008
- Ctrl-X - cuts entire line if nothing selected (ditto for copy)
- Ctrl-Shift-V - cycle through last 20 clipboard items
- Can drag code into Toolbox - build up library (persistent clipboard) (can rename
from context menu) (can be shared/copied)
- Undo/Redo toolbar dropdowns show actual actions. Can undo multiple.
- Navigate Backward toolbar - recent changes
- Window split - drag down little bar above scrollbar - F6 switches panes
- Alt-Shift and select for box select
- Options/Text Editor/C#/Formatting/General - Automatically format on paste (may want
to use ReSharper rules instead)
- ReSharper lets you right-click on a Solution and remove all unused usings (Cleanup
Code)
- View/Other Windows/Bookmark Window
- //TODO is nice with code reviews
- IntelliSense - holding Ctrl key causes it to fade out so you can see what's
obscured
- Ctrl-. (period) - bring up Smart Tag options (like underscore to implement interface)
- Use snippets / ReSharper templates heavily for productivity
- Ctrl-I - incremental search
- Drag other tab into edit window to get another visible edit window
- Ctrl-Tab - switch between open windows/tabs
- Shift-Alt-Enter - toggle between Full Screen mode and Design view
- Customize Toolbars - show shortcut keys in ScreenTips
- Window/Reset Window Layout - if things go really bad
- Command Window - can execute the commands normally associated with menu items, etc.
- Code Definition Window - show code or definition for selected symbol
- Right-click breakpoint for many options (such as when hit, print a message)
- Yellow arrow in debugger - next statement to execute (can drag within limits)
- Immediate Window - execute statements in context of current code in debugger
- Can change values in Locals Window
VS 2010
- Can now float any document on another screen (multimonitor)
- Can pin debug "hover" values
- IntelliTrace - record/replay-like - very useful
- Extension Manager will go out to web site and let you download/install
- View Call Hierarchy
- F# interactive
RockScroll
plugin
Your Host: webmaster@truewill.net
Copyright © 2009 by William Sorensen. All rights reserved.