SlideShare a Scribd company logo
Microsoft Visual Studio.Net
     Tips and Tricks
  to save you 10 minutes a day

             Wei Li
            09/2006
If I had eight hours to chop down a tree,
   I'd spend six sharpening my axe

                     - Abraham Lincoln
What do you want most from
an IDE?

It is just me -

  Assist me write good (hopefully) code fast
    and happily
Let us make a great IDE
better
Launch VS.NET quickly
Organize views and windows
Choose color scheme and font
Master some shortcuts
Do not repeat yourself using macros
Extend VS.NET using addins
Use command window
First thing first – save time on
start up
Say NO to the start page
Choose the right start up
option

                      Show Start Page

                      Load last loaded solution

                      Show Open Project dialog
                      box

                      Show New Project dialog
                      box

                      Show Empty environment
Suppress the splash page
It probably does not bring you anything
   good
Suppress the splash page
Start VS.NET from command
prompt
C:> devenv /nosplash c:weicsharpproj1proj1.sln
                     c:weicsharpproj1


Prerequisite
 Put C:Program FilesMicrosoft Visual Studio .NET
     C:        Files
 2003Common7IDE into your path
 2003Common7IDE
Set the path
Litter your desktop with a
solution shortcut

Double click it to open the solution
A little more about working
with command prompt
C:>devenv /?

C:>devenv c:weitrialcsharpunit_testunit_test.sln
/build DEBUG


Why? Automation and continuous integration
Views, windows, layouts
Solution View
Property View
Server View
…
Debug Window
Output Window
Task List Window
…
Oh My!
Less is more

Ever tried Alt + Shift + Enter?
Organize the views and
windows
Make views/windows auto-hide

Bring them back with shortcuts and
  command window aliases only when
  they are needed
Link file under editing to
solution explorer
Link file under editing to
solution explorer
Disable the navigation bar
Little thing counts
Add guide lines to Visual Studio.Net Text Editor
Subtle effect: do not write a line which is too long
Add guide lines to Visual Studio.Net
Text Editor
Open regedit
            HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio<7.1>
Navigate to HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio<7.1>Text
   Editor
Right-click on the Text Editor key and choose New String Value and name it
    "Guides"
Set the value of the guides to RGB(92, 46, 46) 80, 100
Text editor color scheme
Customize a combination which is best for
 your eyes
Anyone likes the dark side of
Visual Studio.Net?
       Studio.Net?
Text editor color scheme
sample




   Source: http://seizethedave.com/etc/ide-color.gif
           http://seizethedave.com/etc/ide-
Text editor color scheme
  sample




Source: http://www.codinghorror.com/blog/archives/000682.html
Text editor color scheme
 sample




Source:
http://www.codinghorror.com/blog/archives/000682.html
Font for text editor
Choose a font that works best for your
 eyes
Font size for text editor
Choose a font size - I choose a larger font
  size 14.

Why?
•   Good for my eyes
•   Seeing a lot less code in the editor at a time helps
    write better code. You naturally want see a whole
    method in one go. Seeing less code has the subtle
    effect of writing shorter and cleaner method.
Shortcuts
Tons of them
Lots of them you never use
Lots of them you do not care

Master 10 – 15 killers that you use all the
 time
Shortcuts
Ctrl + Space

    Complete the current word or shows all available methods
 and properties for a class



Ctrl + Shift + Space

   Show the parameter information when the cursor is inside
 method parentheses
Shortcuts
Ctrl + K Ctrl + I

      Show a quick description about whatever object the cursor is
  currently resting on
Shortcuts
Ctrl + M + O
        Fold all code


Ctrl + M + P
       Expand all folds
Shortcuts
Ctrl+K Ctrl+C
           Comment out the selected code area


Ctrl+K Ctrl+U
           Uncomment the selected code area


Ctrl+K Ctrl+F
           Format selected code area
Shortcuts
F7
             Code view



Shift + F7
             Design view
Shortcuts
F8
                Next item in the task list or search results.


Killer usage:
  Search for something in the whole solution
  From command window: grep “wordtosearch”
  Then hit F8 for the results
Shortcuts
F12
      Go to definition



Shift + F12
      Go to reference
Shortcuts
Ctrl + F
      Find



Ctrl + Shift + F
      Find in files
Shortcuts
F5
       Start with debugger


Ctrl + F5
       Start without debugger

F10
       Step over

F11
       Step into
Shortcuts
Esc
      Set the focus back to code view (editor)


Ctrl + Tab
      Go to the next opened file in the text editor
And do not forget
Ctrl + S
       Save the current file
       Not just for VS.NET




Ctrl + Shift + S
       Save all modified files
And do not forget
Shift + F10
       = right click
       Bring up context menu
       It works not only for VS.NET
Create your own shortcuts
Tools->Options->Environment->Keyboard
Tools->Options->Environment-
My customized shortcuts
alt + s   Solution viewer
alt + c   Class viewer
alt + p   Property Viewer
alt + f   Find File
alt + o   Opened file
alt + a   All members of the file
alt + m   Methods of a file
alt + v   Pending checking
alt + r   Output viewer
alt + t   Options window
alt + h   View history of the file under editing
Shortcuts
List all shortcuts and print it out for
  reference

Use a macro available here:
  http://www.codinghorror.com/blog/archives/000315.html
Macros
A series of commands and instructions grouped
  together

Automate repetitive actions
Macros
Create a macro

Run a macro

Edit a macro
Macros
Assign shortcut to a macro
Macros
Create a command alias for a macro
Addins


All killers no fillers
VSFileFinder2003
Find files quickly in large solution with many projects

Freely available from:
                         http://zero-one-zero.com/vs/
                         http://zero-one-

A must
VSFileFinder2003
USysWare DPack
Code browse
File browse
Solution browse

Freely available from:
      http://www.usysware.com/DPack/Default.aspx
USysWare DPack
USysWare DPack
USysWare DPack
USysWare DPack
QuickCode .NET
Write code for you
Give you more time to code other things that you really
  want to spend time on

Available from:
             http://www.dvxp.com/en/QuickCode.aspx
QuickCode .NET
QuickCode .NET
QuickCode .NET - Demo
write
main
for
private field
comments (div, ///)
create NUnit test class
TestDriven.NET
Integrate NUnit to Visual Studio.NET

Quick Demo

Will be covered in another talk

http://testdriven.net/
Solvent
Recursive Expand/Contract

Open All Sub Items

Open Containing Folder In Windows Explorer

Command Prompt Here

http://www.paraesthesia.com/blog/comments.php?id=602_0_1_0_C
VIEMU
vi-vim emulation for Microsoft Visual Studio
Vi/Vim is an text editor which allows you to edit code
   quickly

Not a freeware


Not for everyone due to its key binding

http://www.viemu.com/
VIEMU - Demo
  h j k l - move around quickly
  gg       - go to the beginning of a file
  G        - go to the end of a file
  :15      - go to line 15

  yy    - copy a line
  p     - paste

  :w    - save the file
  :q    - close a file
  :qa   - close all files

  :prb - build the project
Addins
Bring up addins using shortcuts and command aliases

This makes addins really powerful
Command window
The hidden treasure of VS.NET

Can be used to do pretty much everything

My control center for VS.NET
Command window
What can you do from command window?

Bring up views, windows
Build project and solution
Search for something
…
You name it
Command window - Demo
Important: create a shortcut to bring up command
  windows first

Mine is alt + w
Command window
Create alias
Command window
List all aliases
Questions?
My question to you
What shortcuts, tips and tricks you use all the time?
Being productive
Tools matter but it is not only about tools.
 It is about a mind set.

Nobody has time for it. Make it. Dig it.
It pays off.
If you save 10 minutes a day
Is it a big deal?

Let us do the math:
10 (minutes/day) * 300 (days)
 = 3,000 minutes
 = 50 hours
 = One whole week

Plus, chances are you will save more than 10 minutes a
  day!
Plus, you now can code in a better mental mood ☺

More Related Content

PDF
CIS 170 Effective Communication - tutorialrank.com
Bartholomew19
 
DOC
Cis 170 Education Organization / snaptutorial.com
Baileya126
 
DOC
CIS 170 Exceptional Education - snaptutorial.com
DavisMurphyB33
 
DOCX
Cis 170 Education Organization -- snaptutorial.com
DavisMurphyB99
 
PPSX
Introduction of VS2012 IDE and ASP.NET Controls
KhademulBasher
 
DOCX
Cis 170 c Enhance teaching / snaptutorial.com
HarrisGeorg51
 
DOCX
CIS 170 Inspiring Innovation/tutorialrank.com
jonhson110
 
DOCX
CIS 170 Education Specialist / snaptutorial.com
McdonaldRyan138
 
CIS 170 Effective Communication - tutorialrank.com
Bartholomew19
 
Cis 170 Education Organization / snaptutorial.com
Baileya126
 
CIS 170 Exceptional Education - snaptutorial.com
DavisMurphyB33
 
Cis 170 Education Organization -- snaptutorial.com
DavisMurphyB99
 
Introduction of VS2012 IDE and ASP.NET Controls
KhademulBasher
 
Cis 170 c Enhance teaching / snaptutorial.com
HarrisGeorg51
 
CIS 170 Inspiring Innovation/tutorialrank.com
jonhson110
 
CIS 170 Education Specialist / snaptutorial.com
McdonaldRyan138
 

What's hot (18)

DOC
CIS 170 Life of the Mind/newtonhelp.com   
llflowe
 
DOCX
Cis 170 Extraordinary Success/newtonhelp.com
amaranthbeg143
 
PDF
Visual c++ 2010_tutorial
Ayub Abd Rahman
 
DOCX
CIS 170 Become Exceptional--cis170.com
claric131
 
PDF
CIS 170 Education for Service--cis170.com
williamwordsworth11
 
PDF
CIS 170 Redefined Education--cis170.com
agathachristie208
 
DOCX
CIS 170 Inspiring Innovation -- cis170.com
kopiko104
 
DOCX
CIS 170 Achievement Education--cis170.com
agathachristie170
 
PDF
The Ring programming language version 1.7 book - Part 19 of 196
Mahmoud Samir Fayed
 
DOC
Cis 170 Effective Communication / snaptutorial.com
Baileyao
 
PPTX
Delhi student's day
Ankur Mishra
 
DOCX
ID E's features
wajahat Gul
 
PDF
Creating Windows-based Applications Part-I
Umar Farooq
 
PPT
Devry cis-170-c-i lab-1-of-7-getting-started
noahjamessss
 
PDF
The Ring programming language version 1.2 book - Part 7 of 84
Mahmoud Samir Fayed
 
PPT
Php
Mindtree
 
PDF
C# with Renas
Renas Rekany
 
PDF
INTRODUCTION TO VISUAL BASICS
Prof Ansari
 
CIS 170 Life of the Mind/newtonhelp.com   
llflowe
 
Cis 170 Extraordinary Success/newtonhelp.com
amaranthbeg143
 
Visual c++ 2010_tutorial
Ayub Abd Rahman
 
CIS 170 Become Exceptional--cis170.com
claric131
 
CIS 170 Education for Service--cis170.com
williamwordsworth11
 
CIS 170 Redefined Education--cis170.com
agathachristie208
 
CIS 170 Inspiring Innovation -- cis170.com
kopiko104
 
CIS 170 Achievement Education--cis170.com
agathachristie170
 
The Ring programming language version 1.7 book - Part 19 of 196
Mahmoud Samir Fayed
 
Cis 170 Effective Communication / snaptutorial.com
Baileyao
 
Delhi student's day
Ankur Mishra
 
ID E's features
wajahat Gul
 
Creating Windows-based Applications Part-I
Umar Farooq
 
Devry cis-170-c-i lab-1-of-7-getting-started
noahjamessss
 
The Ring programming language version 1.2 book - Part 7 of 84
Mahmoud Samir Fayed
 
C# with Renas
Renas Rekany
 
INTRODUCTION TO VISUAL BASICS
Prof Ansari
 
Ad

Viewers also liked (6)

PDF
さあ始めよう Visual Studio
Katsuhiro Aizawa
 
PPTX
Visual Studio Tips and Tricks - Advanced
Zain Naboulsi
 
PPSX
Asp.net mvc
Er. Kamal Bhusal
 
PPTX
Architecting ASP.NET MVC Applications
Gunnar Peipman
 
PPTX
ASP.NET MVC Performance
rudib
 
PDF
MVP – how to test your business idea without building the product
Asen Gyczew
 
さあ始めよう Visual Studio
Katsuhiro Aizawa
 
Visual Studio Tips and Tricks - Advanced
Zain Naboulsi
 
Asp.net mvc
Er. Kamal Bhusal
 
Architecting ASP.NET MVC Applications
Gunnar Peipman
 
ASP.NET MVC Performance
rudib
 
MVP – how to test your business idea without building the product
Asen Gyczew
 
Ad

Similar to Tips and Tricks for Using Visual Studio.Net Effectively (20)

PPTX
St. Louis Days of .NET 2013: Visual Studio Tips and Tricks
Kevin Grossnicklaus
 
PPTX
Vb.net ide
Faisal Aziz
 
PDF
Visual Studio 2010 - Microsoft Visual C# Key Bindings
GlobalLogic Ukraine
 
PDF
Asp key shortcut
hrutu deshmukh
 
PDF
Asp key shortcut
hrutu deshmukh
 
PPTX
7 free Visual Studio extensions
Vlad Mysla
 
PDF
Visual Studio 2008 Overview
Roman Okolovich
 
TXT
Short cutkey
satyaprakash yadav
 
PPTX
Visual Studio 2010 shortcut keys
Emanuele Bartolesi
 
PPT
A Lap Around Visual Studio 2010
Abram John Limpin
 
DOCX
Visual Studio2008 Product Comparison V1.08
guest1197609
 
PPTX
Visual Studio Tips and Tricks
Zain Naboulsi
 
PPTX
How to become a Super Productive Developer
Abhishek Sur
 
PPTX
VISUAL STUDIO Lect one.pptx
BakhtawarJadoon
 
PPTX
Visual studio ide componects dot net framwork
Dipen Parmar
 
PDF
Membangun Desktop App
Fajar Baskoro
 
PPTX
Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...
Rainer Stropek
 
PPTX
visual studio basics
Raghu nath
 
PPT
devLink - VB IDE Tips and Tricks for Visual Studio 2010
Kevin Pilch
 
PPTX
Increasing productivity using visual studio 2017
Md. Mahedee Hasan
 
St. Louis Days of .NET 2013: Visual Studio Tips and Tricks
Kevin Grossnicklaus
 
Vb.net ide
Faisal Aziz
 
Visual Studio 2010 - Microsoft Visual C# Key Bindings
GlobalLogic Ukraine
 
Asp key shortcut
hrutu deshmukh
 
Asp key shortcut
hrutu deshmukh
 
7 free Visual Studio extensions
Vlad Mysla
 
Visual Studio 2008 Overview
Roman Okolovich
 
Short cutkey
satyaprakash yadav
 
Visual Studio 2010 shortcut keys
Emanuele Bartolesi
 
A Lap Around Visual Studio 2010
Abram John Limpin
 
Visual Studio2008 Product Comparison V1.08
guest1197609
 
Visual Studio Tips and Tricks
Zain Naboulsi
 
How to become a Super Productive Developer
Abhishek Sur
 
VISUAL STUDIO Lect one.pptx
BakhtawarJadoon
 
Visual studio ide componects dot net framwork
Dipen Parmar
 
Membangun Desktop App
Fajar Baskoro
 
Coding Like the Wind - Tips and Tricks for the Microsoft Visual Studio 2012 C...
Rainer Stropek
 
visual studio basics
Raghu nath
 
devLink - VB IDE Tips and Tricks for Visual Studio 2010
Kevin Pilch
 
Increasing productivity using visual studio 2017
Md. Mahedee Hasan
 

Recently uploaded (20)

PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PDF
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Get More from Fiori Automation - What’s New, What Works, and What’s Next.pdf
Precisely
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
MASTERDECK GRAPHSUMMIT SYDNEY (Public).pdf
Neo4j
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
Oracle AI Vector Search- Getting Started and what's new in 2025- AIOUG Yatra ...
Sandesh Rao
 
Doc9.....................................
SofiaCollazos
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
The-Ethical-Hackers-Imperative-Safeguarding-the-Digital-Frontier.pptx
sujalchauhan1305
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 

Tips and Tricks for Using Visual Studio.Net Effectively

  • 1. Microsoft Visual Studio.Net Tips and Tricks to save you 10 minutes a day Wei Li 09/2006
  • 2. If I had eight hours to chop down a tree, I'd spend six sharpening my axe - Abraham Lincoln
  • 3. What do you want most from an IDE? It is just me - Assist me write good (hopefully) code fast and happily
  • 4. Let us make a great IDE better Launch VS.NET quickly Organize views and windows Choose color scheme and font Master some shortcuts Do not repeat yourself using macros Extend VS.NET using addins Use command window
  • 5. First thing first – save time on start up Say NO to the start page
  • 6. Choose the right start up option Show Start Page Load last loaded solution Show Open Project dialog box Show New Project dialog box Show Empty environment
  • 7. Suppress the splash page It probably does not bring you anything good
  • 9. Start VS.NET from command prompt C:> devenv /nosplash c:weicsharpproj1proj1.sln c:weicsharpproj1 Prerequisite Put C:Program FilesMicrosoft Visual Studio .NET C: Files 2003Common7IDE into your path 2003Common7IDE
  • 11. Litter your desktop with a solution shortcut Double click it to open the solution
  • 12. A little more about working with command prompt C:>devenv /? C:>devenv c:weitrialcsharpunit_testunit_test.sln /build DEBUG Why? Automation and continuous integration
  • 13. Views, windows, layouts Solution View Property View Server View … Debug Window Output Window Task List Window … Oh My!
  • 14. Less is more Ever tried Alt + Shift + Enter?
  • 15. Organize the views and windows Make views/windows auto-hide Bring them back with shortcuts and command window aliases only when they are needed
  • 16. Link file under editing to solution explorer
  • 17. Link file under editing to solution explorer
  • 19. Little thing counts Add guide lines to Visual Studio.Net Text Editor Subtle effect: do not write a line which is too long
  • 20. Add guide lines to Visual Studio.Net Text Editor Open regedit HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio<7.1> Navigate to HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio<7.1>Text Editor Right-click on the Text Editor key and choose New String Value and name it "Guides" Set the value of the guides to RGB(92, 46, 46) 80, 100
  • 21. Text editor color scheme Customize a combination which is best for your eyes
  • 22. Anyone likes the dark side of Visual Studio.Net? Studio.Net?
  • 23. Text editor color scheme sample Source: http://seizethedave.com/etc/ide-color.gif http://seizethedave.com/etc/ide-
  • 24. Text editor color scheme sample Source: http://www.codinghorror.com/blog/archives/000682.html
  • 25. Text editor color scheme sample Source: http://www.codinghorror.com/blog/archives/000682.html
  • 26. Font for text editor Choose a font that works best for your eyes
  • 27. Font size for text editor Choose a font size - I choose a larger font size 14. Why? • Good for my eyes • Seeing a lot less code in the editor at a time helps write better code. You naturally want see a whole method in one go. Seeing less code has the subtle effect of writing shorter and cleaner method.
  • 28. Shortcuts Tons of them Lots of them you never use Lots of them you do not care Master 10 – 15 killers that you use all the time
  • 29. Shortcuts Ctrl + Space Complete the current word or shows all available methods and properties for a class Ctrl + Shift + Space Show the parameter information when the cursor is inside method parentheses
  • 30. Shortcuts Ctrl + K Ctrl + I Show a quick description about whatever object the cursor is currently resting on
  • 31. Shortcuts Ctrl + M + O Fold all code Ctrl + M + P Expand all folds
  • 32. Shortcuts Ctrl+K Ctrl+C Comment out the selected code area Ctrl+K Ctrl+U Uncomment the selected code area Ctrl+K Ctrl+F Format selected code area
  • 33. Shortcuts F7 Code view Shift + F7 Design view
  • 34. Shortcuts F8 Next item in the task list or search results. Killer usage: Search for something in the whole solution From command window: grep “wordtosearch” Then hit F8 for the results
  • 35. Shortcuts F12 Go to definition Shift + F12 Go to reference
  • 36. Shortcuts Ctrl + F Find Ctrl + Shift + F Find in files
  • 37. Shortcuts F5 Start with debugger Ctrl + F5 Start without debugger F10 Step over F11 Step into
  • 38. Shortcuts Esc Set the focus back to code view (editor) Ctrl + Tab Go to the next opened file in the text editor
  • 39. And do not forget Ctrl + S Save the current file Not just for VS.NET Ctrl + Shift + S Save all modified files
  • 40. And do not forget Shift + F10 = right click Bring up context menu It works not only for VS.NET
  • 41. Create your own shortcuts Tools->Options->Environment->Keyboard Tools->Options->Environment-
  • 42. My customized shortcuts alt + s Solution viewer alt + c Class viewer alt + p Property Viewer alt + f Find File alt + o Opened file alt + a All members of the file alt + m Methods of a file alt + v Pending checking alt + r Output viewer alt + t Options window alt + h View history of the file under editing
  • 43. Shortcuts List all shortcuts and print it out for reference Use a macro available here: http://www.codinghorror.com/blog/archives/000315.html
  • 44. Macros A series of commands and instructions grouped together Automate repetitive actions
  • 45. Macros Create a macro Run a macro Edit a macro
  • 47. Macros Create a command alias for a macro
  • 49. VSFileFinder2003 Find files quickly in large solution with many projects Freely available from: http://zero-one-zero.com/vs/ http://zero-one- A must
  • 51. USysWare DPack Code browse File browse Solution browse Freely available from: http://www.usysware.com/DPack/Default.aspx
  • 56. QuickCode .NET Write code for you Give you more time to code other things that you really want to spend time on Available from: http://www.dvxp.com/en/QuickCode.aspx
  • 59. QuickCode .NET - Demo write main for private field comments (div, ///) create NUnit test class
  • 60. TestDriven.NET Integrate NUnit to Visual Studio.NET Quick Demo Will be covered in another talk http://testdriven.net/
  • 61. Solvent Recursive Expand/Contract Open All Sub Items Open Containing Folder In Windows Explorer Command Prompt Here http://www.paraesthesia.com/blog/comments.php?id=602_0_1_0_C
  • 62. VIEMU vi-vim emulation for Microsoft Visual Studio Vi/Vim is an text editor which allows you to edit code quickly Not a freeware Not for everyone due to its key binding http://www.viemu.com/
  • 63. VIEMU - Demo h j k l - move around quickly gg - go to the beginning of a file G - go to the end of a file :15 - go to line 15 yy - copy a line p - paste :w - save the file :q - close a file :qa - close all files :prb - build the project
  • 64. Addins Bring up addins using shortcuts and command aliases This makes addins really powerful
  • 65. Command window The hidden treasure of VS.NET Can be used to do pretty much everything My control center for VS.NET
  • 66. Command window What can you do from command window? Bring up views, windows Build project and solution Search for something … You name it
  • 67. Command window - Demo Important: create a shortcut to bring up command windows first Mine is alt + w
  • 71. My question to you What shortcuts, tips and tricks you use all the time?
  • 72. Being productive Tools matter but it is not only about tools. It is about a mind set. Nobody has time for it. Make it. Dig it. It pays off.
  • 73. If you save 10 minutes a day Is it a big deal? Let us do the math: 10 (minutes/day) * 300 (days) = 3,000 minutes = 50 hours = One whole week Plus, chances are you will save more than 10 minutes a day! Plus, you now can code in a better mental mood ☺