Use your IDE (Visual Studio)

by volkanuzun 6/18/2008 7:20:00 AM

After i have Resharper (thanx to the inland empire .net user group) i understand that IDE can really help you write better code. Visual studio is a very powerful ide and i dont think i, myself utilize it too much, i want to a list of nice things i like with visual studio.

  1. Line numbering, i love to see line number in the code file so whenever the error message is talking about a line number, i can easily navigate to that line, how do you activate it for all your codes ? Go to Tools => Options => Text Editor => All Languages => Check Line Numbers section
  2. When you are writing the code, and you refer to a .net class but dont have the using statement ? Hit Control+.
  3. Your IDE's default language setting has changed from C# to VB.NET (or anything else?) ? Tools =>Import and Export Settings => Reset All Settings => No, just reset... => Select your language
  4. You need to come back to a certain line of code? put a bookmark,Edit=>Toogle Bookmarks r Control K,Control K , to go to that line Control K+N
  5. You want to leave a note to urself or to a friend who is going to maintain the same project? Comments to too difficult to manage task. Just add a comment that starts with //TODO: and when you compile the code, you will see the note in the tasks window. 
  6. TODO: isnt good enough? you want to add your own types? Tools=> Options =>Environment => Task List. You can add yours tasks types here giving them a priority too
Do you have any more ?

Tags:

About the author

Volkan Uzun




E-mail me Send mail

Twitter

Calendar

<<  June 2008  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

View posts in large calendar

Flickr Badge

www.flickr.com
This is a Flickr badge showing public photos from volkanuzun. Make your own badge here.

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008

Sign in