VS.NET Tips n Tricks (Contd.1)

In continuation on tricks with VS.NET, here are a few more..

  1. (Ctrl+K) + (Ctrl+F) to Autoformat selection       
    (Ctrl+U) to Convert to lower case
    (Ctrl+Shift+U) to Convert to upper case     
    (Ctrl+K) + (Ctrl+C) to Comment selection
    (Ctrl+K) + (Ctrl+U) to Uncomment selection      
  2. To get each line numbered,
    ->Tools->Options->Text Editor->All Languages->General->Line numbers
  3. (Ctrl+R) + (Ctrl+R) to word wrap.
  4. (Ctrl+Space) or (Alt+RightArrow) to autocomplete the word. 
  5. (Ctrl+]) to indentify the the matching brace. This takes us to the matching comment, region or quote depending on the cursor placement.
  6. (Ctrl+Shift+R) to record a new temporary macro.
    (Ctrl+Shift+R) to stop recording.
    (Ctrl+Shift+P) to play the recorded macro.
  7. (Ctrl+Shift+V) to  cycle through the clipboard ring.


Hope these helps !!

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.