Archive for May 23rd, 2007

Tips/FAQs on VS2005

  1. Q:How to recover from “No visual studio template information found”?
    A:The answer is quite simple, just run ‘devenv /setup’.
  2. The IDE remembers the last 20 items copied. To rotate through the list of copied items and choose one to paste into the current file, press CRTL + SHIFT + V.
  3. Q:How to select a rectangle of text?
    A:Hold down the ALT key, press down on the left-click button of your mouse, and then drag the cursor over the text to select.  or, Hold down the SHIFT+ALT keys and press any Arrow key.
  4. Q:How to set the Next Statement?
    A:In the Visual Studio debugger, you can move the execution point to set the next statement of code to be executed. A yellow arrowhead in the margin of a source or Disassembly window marks the location of the next statement to be executed. By moving this arrowhead, you can skip over a portion of code or return to a line previously executed. You can use this for situations such as skipping a section of code that contains a known bug.