I don't know the proper term for the new functionality in Visual Studio 2008 SP1 for C# that does code anaysis and finds compilation errors without an explicit compile ( what I would term "Background Compilation" ), but Scott Guthrie provides the following description:
"The C# code editor now identifies and displays red squiggle errors for many semantic code issues that previously required an explicit compilation to identify. For example, if you try to declare and use an unknown type in the C# code-editor today you won't see a compile error until you do a build. Now with SP1 you'll see live red squiggle errors immediately (no explicit compile required):"
Holy time savings Batman, this is much needed functionality for those developers who are not using ReSharper or another tool that provides similar code analysis in the background. I had to jump on my development machine that is not running the Visual Studio 2008 SP1 Beta just to make sure this background compilation wasn't already being done in Visual Studio 2008.
I didn't put the feature through a thorough testing, but I was just happy that it would identify unknown classes and other little things. The red squiggles are a huge time saver.
This is worth Visual Studio 2008 SP1 alone. And, no, I don't know what performance impact this has on large projects :)
Recent Visual Studio 2008 SP1 Beta Posts:
- EntityDataSource Companion to ADO.NET Entity Data Model in Visual Studio 2008 SP1
- Dynamic Data Entities Websites - EntityDataSource and ASP.NET Website Scaffolding - Rapid Application Development ( RAD )
More...
The squiggle lines have been in C# since the beginning just like in VB. I think the article means "They are adding more squiggle lines without the need to compile". Or maybe, I just read it wrong.
Yes, I know they have been available, as I have been using them for years. However, in C# the squiggle lines have never appeared until you compiled, whereas in VB they have always appeared straight after you type them.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks