.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Melody Anderson

Home >> Articles >> .Net Framework >> Post New Resource Bookmark and Share   

 Subscribe to Articles

Interesting feature of Visual Studio 2008

Posted By:Dhiraj Ranka       Posted Date: October 07, 2010    Points: 50    Category: .Net Framework    URL: http://www.dotnetspark.com  

Interesting feature of Visual Studio 2008. In this articles I will show some of the nice and interesting feature of VS 2008

Many times what happens is programmer or developer while writing thousands of lines of code, it is very obvious to forget which line of code was changed last?
Programmer scratching his head

And one will be like this.... :-) To avoid this confusion Microsoft Visual Studio has came with "Code Changed Highlighter" this is what I am calling it as, don't know what does Microsoft call it as. Will dig this further with an example Start studio, I mean Microsoft Visual Studio 2008, File -> New -> Project (Cntl + Shift + N)

Creating new project

For this blog I am creating a Console Application (Easy and neat way out), but you can create project of your choice.

Creating Console Application

The moment I started coding, there is line on the left side got created with yellow color (Red rectangle shows it all). And it keep on expanding downwards or upwards depending on your coding direction.

Code stated getting highlighted

Now then, once you save it, that same code portion will go green. It means that your code is saved.

Code saved

Now assuming we are done with our thousands of lines of code and we are also closing the Visual Studio. We opened the same project second time for some additional work. Now it is very important to track where all we are going to change the code. But the question is h0w?
And the answers is Visual Studio 2008
How? lets see Open the same project with thousands of lines of code.

Re-opened the same project

Yes, for me as of now this project is with thousands of lines of code :-) The moment I will add any new line of code again left region of breakpoints will go yellow.

Adding new line of code

And once you save it, it will go green again.

New  code saved

So, this way you can keep track of changes made in the code for that opened instance of Visual Studio.
Amazing, instant it?
Hope you will like this little interesting feature of Visual Studio 2008.
 Subscribe to Articles


Further Readings:


No response found. Be the first to respond this post

Post Comment

You must Sign In To post reply
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and more Here

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend