microsoft visual studio 2010 tips and tricks l.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Microsoft Visual Studio 2010 Tips and Tricks PowerPoint Presentation
Download Presentation
Microsoft Visual Studio 2010 Tips and Tricks

Loading in 2 Seconds...

play fullscreen
1 / 24

Microsoft Visual Studio 2010 Tips and Tricks - PowerPoint PPT Presentation


  • 162 Views
  • Uploaded on

Required Slide. SESSION CODE: DEV315. Microsoft Visual Studio 2010 Tips and Tricks. Visual Studio 2010 Tips and Tricks Team Talk ( Twitter Hash #DEV315 ). Dustin Campbell Microsoft Corporation. Scott Cate (@ScottCate) myKB.com Software. Agenda. Get the most out of Visual Studio 2010

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'Microsoft Visual Studio 2010 Tips and Tricks' - garima


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
microsoft visual studio 2010 tips and tricks

Required Slide

SESSION CODE: DEV315

Microsoft Visual Studio 2010 Tips and Tricks

Visual Studio 2010 Tips and TricksTeam Talk ( Twitter Hash #DEV315 )

Dustin Campbell

Microsoft Corporation

Scott Cate (@ScottCate)

myKB.com Software.

agenda
Agenda
  • Get the most out of Visual Studio 2010
    • Better / Faster / Code Tricks / Fun Facts / Bets with Friends
  • Why are you here?
  • Everyone will learn something
  • If one tip saves one minute per hour
    • Do some fuzzy math and ….
    • Every tip will save you 1 year of coding
    • Retire Today!
no need for notes

Entire presentation is available online

  • Mini Screen Cast Series on ScottCate.com/Tricks

No Need for Notes

DEMO

Twitter Discussion: #DEV315

intellisense

camelCase / Substring Filters

  • Suggestion mode [CTRL]+[ALT]+[SPACE]
  • Undeclared types after “new” ( C# Only )

Intellisense

DEMO

http://ScottCate.com/Tricks/DEV315-Intellisense

Twitter Discussion: #DEV315

start page

Pinning and Unpinning Projects

  • Remove projects from list
  • Close start page after load
  • Show/Hide Startup Page
  • Pin to Win7 Task Bar
    • [WIN]+[ALT]+[Position]

Start Page

DEMO

http://ScottCate.com/Tricks/DEV315-StartPage

Twitter Discussion: #DEV315

code editor tricks

Call Hierarchy ( C# Only )

  • Find all references [SHIFT]+[F12]
  • Metadata as Source ( C# Only )
  • Code Definition Window ( C# Only )
  • Highlight references and keywords
  • Navigating Highlights [CTRL]+[SHIFT]+[UP|DOWN]
  • Multi Line Edit – Box Select
  • ZOOM Mouse and Keyboard [CTRL]+[SHIFT]+[<|>]

Code Editor Tricks

DEMO

http://ScottCate.com/Tricks/DEV315-EditorTricks

Twitter Discussion: #DEV315

multiple monitor support

Floating document(s) window(s)

  • Windows 7 [WIN]+[ARROW] Support
  • Double click behavior

Multiple Monitor Support

DEMO

http://ScottCate.com/Tricks/DEV315-MultiMon

Twitter Discussion: #DEV315

outlining

Ad-Hoc Regions

    • Hide [CTRL]+[M],[H]
    • Show [CTRL]+[M],[U]
  • Collapse to definition
  • Outlining preview on margin hover
  • Double click margin to Expand/Collapse

Outlining

DEMO

http://ScottCate.com/Tricks/DEV315-Outlining

Twitter Discussion: #DEV315

navigation

Go to Definition [F12]

  • Go to Definition Stack ( C# Only ) [CTRL]+[SHIFT]+[7|8]
  • Iterate List Window (IE. Find Results) [F8]
  • Navigate To [CTRL]+[,]
  • Navigate to open file selection [CTRL]+[ALT]+[DOWN]
  • Next | Previous Method ( VB Only) [CTRL]+[UP|DOWN]

Navigation

DEMO

http://ScottCate.com/Tricks/DEV315-Navigation

Twitter Discussion: #DEV315

throw away or temp projects

Quick Code

  • Samples
  • Throw Away Code
  • Keep Hard Drive clean
  • Save if you want
  • No Solution Support
  • Single Projects Only

Throw Away or Temp Projects

DEMO

http://ScottCate.com/Tricks/DEV315-TempProjects

Twitter Discussion: #DEV315

new project dialog

Sort Templates

  • Search / Filter Templates
  • Add / Find new Templates
  • Online Templates

New Project Dialog

DEMO

http://ScottCate.com/Tricks/DEV315-NewProjects

Twitter Discussion: #DEV315

writing code faster

Background Squigglies

  • Smart Tag Shortcut [CTRL]+[.]
    • Add Using|Import statements
    • Generate from Usage
    • Error Correction ( VB Only )

Writing Code Faster

DEMO

http://ScottCate.com/Tricks/DEV315-WriteCodeFaster

Twitter Discussion: #DEV315

code snippets

Double [TAB] Expansion

  • Insert Snippet
    • [CTRL]+[K] and [CTRL]+[X]
    • [?]+[TAB] Snippets Dialog ( VB Only )
    • Toggle Snippet Visibility ( VB Only )

Code Snippets

DEMO

http://ScottCate.com/Tricks/DEV315-CodeSnippets

Twitter Discussion: #DEV315

debugging

IntelliTrace – Back in Time

  • Breakpoint Name / Group [On|Off] / Export / Import
  • Trace Points
  • Pin / Persists Data Tips
    • Adjust Data Tips Transparency
  • Run to Cursor [CTRL]+[F10]
  • Debugger Visualizers

Debugging

DEMO

http://ScottCate.com/Tricks/DEV315-Debugging

Twitter Discussion: #DEV315

architecture diagrams

New Modeling Project

  • Diagrams *.dgml
  • Sequence Diagrams
  • Layer Diagrams

Architecture Diagrams

DEMO

http://ScottCate.com/Tricks/DEV315-Diagrams

Twitter Discussion: #DEV315

extending visual studio 2010

Extension Manager

    • Online Gallery
    • Easy to Enable|Disable
  • Safe Mode
    • Devenv.exe /SafeMode

Extending Visual Studio 2010

DEMO

http://ScottCate.com/Tricks/DEV315-ExtendVS2010

Twitter Discussion: #DEV315

professional power tools

Document Tab Enhancements

  • Highlight Current Line
  • Column Guides
  • And many more …

Professional Power Tools

DEMO

http://ScottCate.com/Tricks/DEV315-PowerTools

Twitter Discussion: #DEV315

http scottcate com tricks

http://ScottCate.com/Tricks

Video Blog

100’s of Visual Studio Tips and Tricks

Community Project

PARTNER

track resources

Required Slide

Track PMs will supply the content for this slide, which will be inserted during the final scrub.

Track Resources
  • Visual Studio – http://www.microsoft.com/visualstudio/en-us/
  • Soma’s Blog – http://blogs.msdn.com/b/somasegar/
  • MSDN Data Developer Center – http://msdn.com/data
  • ADO.NET Team Blog – http://blogs.msdn.com/adonet
  • WCF Data Services Team Blog – http://blogs.msdn.com/astoriateam
  • EF Design Blog – http://blogs.msdn.com/efdesign
resources

Required Slide

Resources

Learning

  • Sessions On-Demand & Community
  • Microsoft Certification & Training Resources

www.microsoft.com/teched

www.microsoft.com/learning

  • Resources for IT Professionals
  • Resources for Developers
  • http://microsoft.com/technet
  • http://microsoft.com/msdn
slide21

Required Slide

Complete an evaluation on CommNet and enter to win!

slide22

Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st

http://northamerica.msteched.com/registration

You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year

slide23

© 2010 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.

The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.