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

Coding Koan: the power of one Coding Koan: the power of one
Behavior Driven Development: As Human As Possible Behavior Driven Development: As Human As Possible
What To (Really) Do If You Find Out Your Parents Are Using Vista (redux) What To (Really) Do If You Find Out Your Parents Are Using Vista (redux)
What To Do If You Find Out Your Parents Are Using Vista What To Do If You Find Out Your Parents Are Using Vista
Sample Code From Text-Adventure Game Platforms Sample Code From Text-Adventure Game Platforms
TimeSnapper 3.0 -- an interactive, bubbling cauldron of possibilities TimeSnapper 3.0 -- an interactive, bubbling cauldron of possibilities
The laptop compubody sock The laptop compubody sock
Everything that's bad for you is suddenly good for you! Everything that's bad for you is suddenly good for you!
Everything I know about Code Reviews I learnt from Star Wars (and JCooney) Everything I know about Code Reviews I learnt from Star Wars (and JCooney)
Syntax highlighting of strings Syntax highlighting of strings
Google AppEngine: evil virus or viral evil? Google AppEngine: evil virus or viral evil?
Workflow software: I'm calling the bluff. Workflow software: I'm calling the bluff.

Archives .: secretGeek :: Complete Archives :.
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
Top 10 SecretGeek articles Top 10 SecretGeek articles

Downloads

TimeSnapper -- Automated Screenshot Journal TimeSnapper.com    
Version 2.5: with password protection

ShinyPower (help with Powershell) ShinyPower
Now at CodePlex

Next Action NextAction
Managing the top of your mind



[powered by Google] 

Thai Erawan, Brisbane Restaurant, delicious thai food in paddington Thai Erawan, Brisbane Restaurant
World's Simplest Code Generator (html edition) World's Simplest Code Generator
Gradient Maker -- a tool for making background images that blend from one colour to another. Forget photoshop, this is the bomb. Gradient Maker
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
Reginald Braithwaite
Joseph Cooney
Phil Haack
Scott Hanselman
Julia Lerman
Joel Pobar
Eric Sink
Joel Spolsky
Des Traynor

Aggregated Links

programming.reddit.com
dzone
dot net kicks

Human Link Machines

interesting finds
a continuous learner's weblog
arjan's world
n links today
new and notable
morning coffee
learning .net
weekly link post
(my del.icio.us account)

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

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