Visual Studio Tips and Tricks<br />
Credits<br />ZainNaboulsi<br />Microsoft Developer Evangelist<br />blogs.msdn.com/visualstudiotips<br />@zainnab<br />isbn...
Pin Favorite Startup Projects<br />Start Page<br />
Understanding Command<br />Tools > Options > Environment > Keyboard<br />Assign Shortcut Key to Command<br />Test Command ...
Item / Project Templates<br />File > Export Template<br />Create your own templates (project / item)<br />Create from exis...
Searching in Toolbox<br />View Toolbox: CTRL + ALT + X<br />Expand All: /<br />Collapse All: *<br />Next Result: TAB<br />...
Navigate Code<br />Matching Braces: CTRL + ]<br />Backward / Forward: CTRL + -; CTRL + SHIFT + -<br />Select to last marke...
Zero-Length Box Selection<br />SHIFT + ALT + Arrow keys<br />Type and text selection<br />ALT + Left Mouse<br />Type and t...
Using New IntelliSense: Keywords<br />Visual Studio 2010<br />CTRL + J<br />
Multiple Startup Projects<br />Solution Properties<br />
Generate From Usage<br />Automatically create stub code<br />Use classes and members before defined<br />Easily add namesp...
Data Tips<br />Debug mode allow view of data tips<br />Data tips can be pinned<br />Pinned data tips can be imported / exp...
Accessing Tool Window’s Toolbar<br />SHIFT + ALT<br />Navigate with arrow keys<br />
Split Code Windows<br />Split horizontally and vertically<br />Horizontal: ALT + W, P<br />Vertical: ALT + W, V<br />New w...
Zoom In or Out of Text in Editor<br />CTRL + Mouse Wheel<br />
Navigate Properties Windows<br />CTRL + PgUp<br />CTRL + PgDn<br />
Upcoming SlideShare
Loading in...5
×

Visual studio tips and tricks

1,264

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,264
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Visual studio tips and tricks

  1. 1. Visual Studio Tips and Tricks<br />
  2. 2. Credits<br />ZainNaboulsi<br />Microsoft Developer Evangelist<br />blogs.msdn.com/visualstudiotips<br />@zainnab<br />isbn: 0735649928<br />
  3. 3. Pin Favorite Startup Projects<br />Start Page<br />
  4. 4. Understanding Command<br />Tools > Options > Environment > Keyboard<br />Assign Shortcut Key to Command<br />Test Command (Project.AddClass)<br />Run from Command Window, Menu, Shortcut Keys<br />Command Window: CTRL + ALT + A<br />
  5. 5. Item / Project Templates<br />File > Export Template<br />Create your own templates (project / item)<br />Create from existing item<br />Add references in the template<br />Search project: CTRL + E (New Project window)<br />
  6. 6. Searching in Toolbox<br />View Toolbox: CTRL + ALT + X<br />Expand All: /<br />Collapse All: *<br />Next Result: TAB<br />Cancel: ESC<br />
  7. 7. Navigate Code<br />Matching Braces: CTRL + ]<br />Backward / Forward: CTRL + -; CTRL + SHIFT + -<br />Select to last marker: CTRL + =<br />Insert above line: CTRL + Enter<br />Backspace one word: CTRL + Backspace<br />Goto line: CTRL + G<br />
  8. 8. Zero-Length Box Selection<br />SHIFT + ALT + Arrow keys<br />Type and text selection<br />ALT + Left Mouse<br />Type and text selection<br />Select + Paste<br />Replacing Text with Box Selection<br />
  9. 9. Using New IntelliSense: Keywords<br />Visual Studio 2010<br />CTRL + J<br />
  10. 10. Multiple Startup Projects<br />Solution Properties<br />
  11. 11. Generate From Usage<br />Automatically create stub code<br />Use classes and members before defined<br />Easily add namespace (using or full name)<br />
  12. 12. Data Tips<br />Debug mode allow view of data tips<br />Data tips can be pinned<br />Pinned data tips can be imported / exported<br />Debug > Import / Export Data Tips<br />
  13. 13. Accessing Tool Window’s Toolbar<br />SHIFT + ALT<br />Navigate with arrow keys<br />
  14. 14. Split Code Windows<br />Split horizontally and vertically<br />Horizontal: ALT + W, P<br />Vertical: ALT + W, V<br />New window: ALT + W, N<br />
  15. 15. Zoom In or Out of Text in Editor<br />CTRL + Mouse Wheel<br />
  16. 16. Navigate Properties Windows<br />CTRL + PgUp<br />CTRL + PgDn<br />

×