Editor's Note

Don't Overlook Whidbey

Visual Studio 2005 (code-named Whidbey) is almost here.

It's hard to get excited about the imminent or even near-imminent release of a product when you've been living with it for more than a year, and it feels like more than a decade. Such is the case with Visual Studio 2005 (code-named Whidbey), the next version of Visual Studio; it will be even more true of Longhorn, the next version of Windows, where even its baby pictures are worthy of their own conference (Professional Developers Conference 2003).

The way Microsoft announces and promotes its development tools and technologies reminds me increasingly of the Jimmy Carter presidency. It suffers, not from a lack of ambition, but from a lack of sustained focus, where each new day brings a new crusade, with the assumption that yesterday's proposals have already been enacted. Visual Studio 2005 remains down the road, but already Longhorn and its attendant technologies (especially Indigo) feel like the main emphasis at developer conferences.

I think this is unfortunate when Visual Studio 2005 has a lot to recommend it. VS 2005 contains a lot of cool features for C# and VB.NET developers, without even touching on the ASP.NET, enterprise, or Yukon-related features. It is the kind of stuff that enables you to do more, do it more quickly, and do it more easily. That's not a bad combination. So, I thought I'd take a moment and sum up or restate some of the developer-level features you have to look forward to in Visual Studio 2005.

Some of the more interesting changes take place in the next version of C#, which incorporates refactoring, generics, anonymous methods, partial types, nullable types, and even edit-and-continue. Edit-and-continue is that vaunted ability in "classic" VB to make changes to your application in debug mode, then test those changes on the fly, without having to recompile the application every time you change a line of code. It was one of the most requested features for C# once announced for VB.NET -- and reinforces the point that all developers, advanced and not-so-advanced, want to strip away the clutter and time-consuming tasks that can make programming a chore so they can concentrate primarily on the programming tasks at hand.

The next version of VB.NET incorporates the aforementioned edit-and-continue feature. It also provides "My" classes, which provide simplified access to many features of the .NET Framework, including hooks into members such as Application, Forms, Resources, and Settings. As a practical result, printing is once again as simple as writing a couple lines of code:

With my.Computer.Printers.DefaultPrinter
       .writeline("print me")
End With

You can also access forms by name, as you could in pre-.NET versions of VB:

My.Forms.Form1.Show( )
Some of these My features are so easy to use, even a magazine editor can do it. Be warned: There is a limit to what can be accomplished with these classes, and there is no way around learning the framework. However, all users -- advanced and not-so-advanced -- will be able to take advantage of this feature to implement their solutions more quickly and with less code.

The new code snippet feature, part of an expanded IntelliSense, is also exciting. This feature gives you easy access to customizable libraries of code that you can add to your own code with a simple click. Visual Studio 2005 will ship with some examples, Microsoft will provide Web sites to gather more, and you can be certain that there will be a mini cottage industry around this feature. At VSM, we're excited about the possibilities this feature presents (and by we, of course, I mean me!). We have an article lined up to show you how to use it, but of course, the vagaries of beta being what they are, we're holding off on it until we feel the feature is more complete. The article should run sometime in the next two or three issues.

The sum of these features means that there is a lot to look forward to in VS 2005. The hard part, as ever, will be covering the material as quickly as you want to learn about it. We look forward to trying.

About the Author

Patrick Meader is editor in chief of Visual Studio Magazine.

comments powered by Disqus


  • Creating Reactive Applications in .NET

    In modern applications, data is being retrieved in asynchronous, real-time streams, as traditional pull requests where the clients asks for data from the server are becoming a thing of the past.

  • AI for GitHub Collaboration? Maybe Not So Much

    No doubt GitHub Copilot has been a boon for developers, but AI might not be the best tool for collaboration, according to developers weighing in on a recent social media post from the GitHub team.

  • Visual Studio 2022 Getting VS Code 'Command Palette' Equivalent

    As any Visual Studio Code user knows, the editor's command palette is a powerful tool for getting things done quickly, without having to navigate through menus and dialogs. Now, we learn how an equivalent is coming for Microsoft's flagship Visual Studio IDE, invoked by the same familiar Ctrl+Shift+P keyboard shortcut.

  • .NET 9 Preview 3: 'I've Been Waiting 9 Years for This API!'

    Microsoft's third preview of .NET 9 sees a lot of minor tweaks and fixes with no earth-shaking new functionality, but little things can be important to individual developers.

  • Data Anomaly Detection Using a Neural Autoencoder with C#

    Dr. James McCaffrey of Microsoft Research tackles the process of examining a set of source data to find data items that are different in some way from the majority of the source items.

Subscribe on YouTube