productivity tips and tricks -...

60
Visual Studio 2010 Yanesh Tyagi PRODUCTIVITY TIPS AND TRICKS

Upload: others

Post on 12-Oct-2020

7 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Visual Studio 2010

Yanesh Tyagi

PRODUCTIVITY TIPS AND TRICKS

Page 2: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

• 17 years in IT

• Programmer > Architect > PM > DM

• Reader > Blogger > Traveler

• Husband > Father

• @yaneshtyagi

• yanesh.tyagi @ gmail.com

• yaneshtyagi.com

• facebook.com/yaneshtyagi

ABOUT ME

19-01-2013 2 HTTP://YANESHTYAGI.COM

ASP.NET WEB API BY YANESH TYAGI

YANESH

TYAGI

Keep Focused Open Source Productivity Tool

http://keepfocused.codeplex.com/

Page 3: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

OVERVIEW

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 3

• Do you spend so much time in coding still things are not in shape?

• Do you find it difficult to spend some time in office canteen gossip

• Do you feel that you can do more but don’t know how?

• Do you wonder how that fellow keeps reading news or watching videos on net and still

completes his/her task on time?

• Do you found yourself working late or carry your work home on weekends?

• Do you find it difficult to get time to read a book or learn new technology?

Page 4: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 4

The <AngleBrackets/> folks in Azure Platform and Tools

(ASP.NET, IIS, WCF, EF, Azure much and more) have

been putting a lot of work into what I sometimes call

"Death by a Thousand Tiny Cuts." It's the little irritants

that are as frustrating (or more so) as the big missing

features.

-Scott Hanselman

Page 5: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

ROADMAP

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 5

• Keyboard shortcuts

• Extensions

• Solution explorer vs. navigator

• Search and find

• A look at VS windows

• Extend your display

• Summary

• Q&A

Page 6: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

KEYBOARD SHORTCUTS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 6

Page 7: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 7

I watch numerous times a day as colleagues take

their hands from the keyboard, reach for the

mouse, and either (1) click in the next field of a

form and recommence typing, or (2) click 'Submit.'

It'd take a lot more than $50 mil worth of research

to convince me that (1) tab and (2) enter are not

faster.

Page 8: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

HELPFUL KEYBOARD SHORTCUTS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 8

• Ctrl + ‘-’ and Ctrl + Shift + ‘-’ : Move the cursor back (and forward) to the last place it was

• Ctrl + i : Find dialog without a dialog box

• F3 or Ctrl + i again: incremental search

• Shift + Alt + Enter: Full screen code window. Hit again to get back.

• Ctrl + ‘.’ : Expend smart tag or resolve menu.

• Ctrl + (KC)/(KU) : comment/uncomment entire block

• Tab + Tab : code snippet

• Ctrl + Space : Auto completion menu

• Ctrl + ‘]’ : matching braces

• Ctrl + (KD) : Auto reformat

• Ctrl + Alt + L : Solution Explorer

Page 9: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

• Alt + F6 : Cycles through tool windows

• Shift + Esc : Hide tool window

• Shift + F12: Find references

• Alt + Shift + cursor keys: Select block

• Ctrl + F10 : Run to cursor

• Ctrl + Shift + space: Shows

syntax/overloads

Resources

References

• Popular Keyboard Shortcuts

• Pre-defined Keyboard Shortcuts

Downloads

• Keyboard Shortcut Cheat Sheet

MORE SHORTCUTS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 9

Page 10: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 10

MICROSOFT

NATURAL ERGONOMIC KEYBOARD 4000

Page 11: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 11

KINESIS ADVANTAGE PRO KEYBOARD

Page 12: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 12

KENESIS ADVANTAGE

Page 13: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO WINDOWS

Section 2 Subtitle

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 13

Page 14: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

NAVIGATION WINDOW

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 14

• Shortcut: Ctrl + ,

Page 15: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

CODE DEFINITION WINDOW

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 15

• Shortcut: Ctrl + \, D

Page 16: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO EXTENSIONS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 16

Page 17: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO GALLERY

HOME FOR ALL EXTENSIONS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 17

Page 18: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

NUGET DOWNLOAD

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 18

Page 19: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

DOWNLOAD FROM GALLARY

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 19

http://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef

Page 20: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

FEATURES

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 20

• Quick Find - Unobtrusive search box in upper-right corner of the code window. Great

for searching in general, especially in a file.

• Solution Navigator - The 'Solution Explorer' on steroids. Easy to search for files,

see defined members/properties/methods in files, and my favourite feature is the 'set

as root' option.

• Updated 'Add Reference...' Dialog - This is probably my favourite enhancement

period... The 'Add Reference...' dialog redone in a manner that resembles the

Extension/Package managers. I especially love the ability to search through all of the

references.

• Source Map – Updated Scroll Bar – allows to navigate the source file easily and

view different artifacts such as bookmarks, breakpoints, edits, errors, warnings, etc.

in map view

And much more…

Page 21: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

SOLUTION NAVIGATOR

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 21

Page 22: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

SOLUTION NAVIGATOR - EXPLAINED

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 22

Search solution items

New root from here

Collapse All

Filter solution items

Page 23: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

SOLUTION NAVIGATOR - NEW ROOT

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 23

Page 24: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

UPDATED WEB REFERENCE DIALOG

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 24

Page 25: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

SOURCE MAP

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 25

• Allow you to more easily see

the interesting artefacts in

your files (edits, breakpoints,

bookmarks, errors, warnings

etc)

• Make it easy for you to

navigate between them.

Three Modes

• Scroll bar mode

• Map mode

• Full mode

Page 26: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

QUICK ACCESS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 26

To use, press Ctrl+3 to

launch Quick Access, type

in your search term (e.g.,

“debug”), and press Enter

on the desired result.

If your search term returns

too many results, continue

pressing Ctrl+3 to cycle

through each category of

results.

Page 27: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

PRODUCTIVITY POWER TOOLS

VERTICAL TABS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 27

Page 28: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

POWER COMMANDS FOR VISUAL STUDIO

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 28

Page 29: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

FEATURES - 1

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 29

• Remove and Sort Usings – at the project level

• Copy Path – copy path of any file from solution explorer

• Email Code Snippet – well this is clear.

• Show All Files – entire solution, not just a project

• Undo Close – Ctrl + Shift + Z

• Want to see all of your most-recently closed documents? Go to View –

Other Windows – Undo Close Window.

Page 30: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

FEATURES - 2

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 30

• Copy/Paste Class – Copy class from one project and paste in another

• Copy Paste References – No more need of that lazy add reference dialog

• Copy as Project Reference – copy a project and add as reference into

another

• Edit Project File – allows you to edit project file without reloading the project

• Open Command Prompt – opens command prompt and set the current

directory as file path

• Enable/Disable all commands – Tools -> Options -> Power Commands ->

Commands

Page 31: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

REMOVE AND SORT USING AT PROJECT LEVEL

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 31

Page 32: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

COPY FILE PATH

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 32

Page 33: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

EMAIL CODE SNIPPET

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 33

Page 34: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

SHOW ALL FILES FOR SOLUTION

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 34

Page 35: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

COPY CLASS / PASTE CLASS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 35

Page 36: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

COPY REFERENCE / PASTE REFERENCE

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 36

Page 37: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

OPEN CONTAINING FOLDER

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 37

Page 38: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

OPEN COMMAND WINDOW

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 38

Page 39: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

VISUAL STUDIO POWER COMMANDS

COPY AS PROJECT REFERENCE

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 39

Page 40: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

DPACK

NUMBERED BOOKMARK

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 40

Page 41: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

DPACK

DOWNLOAD FROM GALLARY

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 41

http://visualstudiogallery.msdn.microsoft.com/c7befd80-446f-4005-b659-0e8de2ee1417

Page 42: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

DPACK

FEATURES

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 42

• Local Numbered Bookmarks - set and recall bookmarks by number.

Support keyboard shortcuts.

• Global Numbered Bookmarks - work on the whole solution as oppose to its

individual files. Global bookmarks allow one to quickly navigate from file to

file..

• Up to 10 local and 10 global bookmarks, from 0 to 9 are supported per file.

• Any number of bookmarks can be set on the same line. Bookmark column

position is saved along with the bookmark information. When bookmark is

recalled, line/column information is used to precisely position the editor

cursor.

Page 43: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

DPACK

SHORTCUTS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 43

Ctrl-Shift-0 .. Ctrl-Shift-9 - set 0..9 bookmarks

Ctrl-Shift-Alt-0 .. Ctrl-Shift-Alt-9 - set global 0..9 bookmarks

Ctrl-0 .. Ctrl-9 - recall 0..9 bookmarks

Ctrl-Alt-0 .. Ctrl-Alt-9 - recall global 0..9 bookmarks

Ctrl-K, P - previous bookmark

Ctrl-K, N - next bookmark

Ctrl-K, C - clear file bookmarks

Ctrl-K, A - clear solution bookmarks

Page 44: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

MINDSCAPE VISUAL STUDIO FILE EXPLORER

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 44

Page 45: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

MINDSCAPE VISUAL STUDIO FILE EXPLORER

FEATURES

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 45

• Free file explorer extension for Visual Studio

• The Visual Studio File Explorer Add-in (sexy name we know, but hey, it's self

documenting) is a free Tool Window add-in for Visual Studio 2010 and Visual Studio

2012 that provides a Windows Explorer file system view from Visual Studio.

• Features & Benefits

• Shell Enabled - So shell extensions like TortoiseSVN work just fine.

• Command Prompt Here - Opens a command prompt at the current folder.

• Snap to Solution - Sets the root folder to the current solution's folder.

• Split View - Windows Explorer style.

• Open Item - Either in Visual Studio or the registered application.

• Options Dialog - For configuring the add-in.

Page 46: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

FIND RESULTS WINDOWS TWEAK

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 46

Page 47: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

FIND RESULTS WINDOWS TWEAK

FEATURES

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 47

• The Visual Studio Find Results window is a powerful tool, however it can

become cluttered with long file paths and find results and may miss

additional information like the column of the result.

• This add-in provides a way that allows you to control how that is formatted.

So you can show just filename, add the column info, change the order,

change what find results are shown... or even just have it write your name

out every time it finds a file!

• The tool is very easy to use, a single check box to enable/disable it and a

interactive preview window to see what your changes are in real time.

• For more details visit Sara Ford’s blog.

Page 48: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

MULTIPLE MONITORS

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 48

Page 49: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

DUAL MONITORS

ACTUALLY ADDS UP TO PRODUCTIVITY

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 49

Working on dual 20” monitors increase productivity by

44%.

- Utah University and NEC Productivity Study

Two Screens Are Better Than One..

- Microsoft Research

VS 2010 addresses this by now allowing editors, designers and tool -windows to be moved

outside the top-level window and positioned anywhere you want, and on any monitor on your

system. This allows you to significantly improve your use of screen real -estate, and optimize

your overall development workflow.

- Scott Guthrie

Page 50: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

MY DUAL MONITOR SETUP

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 50

Page 51: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

FURTHER READING

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 51

• Best Practices for Working with Multiple Monitors in Visual Studio 2010

• http://stackoverflow.com/questions/2931808/best-practices-for-working-with-multiple-

monitors-in-visual-studio-2010

Page 52: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 52

SPACESHIP-LIKE

MULTI MULTIPLE MONITORS

Page 53: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 53

A UNIVERSE OF MONITORS

Page 54: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 54

A GOOD WORKING

THREE MONITOR SETUP

Page 55: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 55

FOUR MONITOR SETUP

DECREASE PRODUCTIVITY

Page 56: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 56

THREE MONITOR SETUP

Page 57: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

WHAT YOU LEARN TODAY

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 57

• Using keyboard to work faster

• Extending Visual Studio to become power user

• Utilizing Visual Studio tools to become more productive

Page 58: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f Tyagi Yanesh t

f

REFERENCES / FURTHER READING

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 58

• Visual Studio Gallary

• http://visualstudiogallery.msdn.microsoft.com/

• Sara Ford’s Blog

• http://blogs.msdn.com/b/saraford/archive/tags/visual+studio+2010+extension+of+the

+week/

• Scott Hanselman’s Blog

• http://www.hanselman.com/blog/TheBestVisualStudio2010ProductivityPowerToolsPo

werCommandsAndExtensions.aspx

Page 59: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f

QUESTIONS….?

19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 59

Page 60: Productivity Tips and Tricks - yaneshtyagi.comyaneshtyagi.com/download/K-Mug-20130119-VSProductivity.pdf · PRODUCTIVITY TIPS AND TRICKS - VS2010 4719-Jan-13 • The Visual Studio

Tyagi Yanesh t

f 19-Jan-13 PRODUCTIVITY TIPS AND TRICKS - VS2010 60