Visual Studio .Net Tips
secretGeek .:dotnuts about dotnet:.
home .: about .: sign up .: sitemap

Visual Studio .Net Tips

Turn off animations

The way menus slide out might look funky... but its got to waste a few cycles. Increase responsiveness by turning off the animations.

  • Options
    • Environment
      • General
        • Animate environment tools (Set to OFF)

Make strings stand out

Most typographic errors in the code are caught by the compiler. Embedded strings, unlike code, are not parsed but you can be sure your endusers will notice your typos! Highlighting the strings as shown is guaranteed to help you pick up your mistakes sooner!

  • Options
    • Environment
      • Fonts and colours
        • Display items
          • String
            • Foreground: White
            • Background: Purple

Turn on Word Wrap

Some purists might argue against word wrap. But in VB.net if you leave it turned off you're not likely to notice any mistakes relating the 'Handles' keyword.

  • Options
    • Text Editor
      • Basic
        • General
          • Word Wrap

Adjust your Tab Sizes

it's important to make your tab sizes Consistent with other people working on the same project as you. Other wise false deltas will be created in VSS change tracking.

  • Options
    • Text Editor
      • Basic
        • Tabs
          • Tab size: 2
          • Indent size: 2

Set Tab Order for multiple controls

  • Select all the controls you want to set tab order for.
  • Select View-> Tab order
  • Click on the controls in the order you want their tab order to be set.
(reference from msdnmag)

Set code to editable while debugging

Although it's not as good as real 'edit and continue' it's still a lot better than the default (don't allow changes while debugging). And yes, it can lead to 'unexpected behaviour' - but i'm sure you understand that your changes won't be picked up until you restart.)

  • Options
    • Debugging
      • Edit and Continue
        • Allow me to edit VB files while debugging

Make breakpoint warnings stand out

Ordinarily, breakpoint warnings look the same as normal breakpoints. This is misleading, so I recommend the following change to your settings.

  • Options
    • Environment
      • Fonts and Colours
        • Display Items
          • breakpoint (warning)
            • Fore ground
            • (change to cyan, rather than white.)

Add or view comments about this page

Articles

What then, is b? What then, is b?
SQLike: A simple editor SQLike: A simple editor
Yet Another BizPlan Generator. Yet Another BizPlan Generator.
HOT GUIDS: A hot or not site for guids HOT GUIDS: A hot or not site for guids
How does life get better? One tiny hack at a time. How does life get better? One tiny hack at a time.
24 things to do, and 100 things *not* to do (yet) for building a MicroISV 24 things to do, and 100 things *not* to do (yet) for building a MicroISV
Venture capital won't kill Jeff Atwood, it will only make him Jeffer. Venture capital won't kill Jeff Atwood, it will only make him Jeffer.
A handy workflow image for newbie mercurial users A handy workflow image for newbie mercurial users
Fractal Feedback, a diversion into recreational programming Fractal Feedback, a diversion into recreational programming
Hump-Jumping: How the Education of Computer Science can be Saved, err, maybe. Hump-Jumping: How the Education of Computer Science can be Saved, err, maybe.
Suggested User Experience Improvements for DiffMerge Suggested User Experience Improvements for DiffMerge
SQL Style Extensions for C# SQL Style Extensions for C#
The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's The Movie Hollywood (And My Wife) Doesn't Want You To See: Weekend at Jacko's
Sysi: the ultimate administrators toolkit Sysi: the ultimate administrators toolkit

Archives .: secretGeek :: Complete Archives
TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 3.3: true productivity boost

Next Action NextAction
Managing the top of your mind

World's Simplest Code Generator (html edition) World's Simplest Code Generator

25 steps for building a Micro-ISV 25 steps for building a Micro-ISV
3 minute guides -- babysteps in new technologies: powershell, JSON, watir, F# 3 Minute Guide Series
Universal Troubleshooting checklist Universal Troubleshooting Checklist
Top 10 SecretGeek articles Top 10 SecretGeek articles
ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Realtime CSS Editor, in a browser RealTime Online CSS Editor
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker


[powered by Google] 


How to be depressed How to be depressed
You are not inadequate.



Recommended Reading

The Best Software Writing I
The Business Of Software (Eric Sink)

Recommended blogs

Jeff Atwood
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Rhys Parry
Joel Pobar
OJ Reeves
Eric Sink

Aggregated Links

proggit
dzone
hacker news
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
weekly link post

LinkedIn profile
LogEnvy - event logs made sexy
ShuffleText - fuzzy search for .net
PC Smart Buys - Computer Hardware in Australia
home .: about .: sign up .: sitemap .: © Leon Bambrick 2003 .: privacy

home .: about .: sign up .: sitemap .: © Leon Bambrick 2003 .: privacy