Here’s some possibly lesser known tips to move fast while programming (C++, Visual Studio)
- Add explorer to the quick launch bar. Under target, use “%SystemRoot%\explorer.scf”. Under start in, use “%HOMEDRIVE%%HOMEPATH%”. Both without the quotation marks. This way you can get to C: with one click, rather than starting at My Documents
- Similarly, in explorer, you can add local directories to the favorites list. I added the base directory to my game there.
- If you don’t have the show desktop button in the quick launch bar, add it.
- Hit ctrl-tab and hold down tab to go between the most recent windows
- ctrl-minus to go back to the last cursor position (can be done repeatedly). ctrl-shift-minus to go forward
- ctrl-shift-v to get a list of recently copied items.
- Memorize and use the hotkeys for find in files.
- Use alt-g to goto on a keyword or token. If the results are wrong, right click, go to definition or declaration. Between the two you can get to where you need to be.
- Use VAssistX under the menu bar, then go to refactor. Renaming there is very useful. You can also get this by getting a tooltip for a variable or function, then clicking the down pointing black arrow that usually comes up.
- Shift-alt-o to bring up a list of files, searchable by name.
UltraMon and multiple monitors
- Under options, select Smart Taskbar, use Smart Taskbar, and Mode: Standard. This gives you two task bars.
- Under options / Hotkeys / Move window to next monitor, I’ve bound alt+n. This way I can view 2 fullscreen documents without reaching for the mouse
- Both of my monitors run at 1600×1200
- When multiple copy/paste isn’t enough, I open UltraEdit as a notepad and can move quickly. UltraEdit also has a more powerful find/replace tool than Visual Studio and is better for dealing with multiple line replaces.