Posted By: Drew Robbins | Jan 16th @ 3:25 PM | 177,315 Views | 33 Comments

In this episode of 10-4, we look at the new code editor in Visual Studio 2010. We'll try out some of the new code navigation features that make it easier to move around in your source code. Then we look at how Visual Studio 2010 makes Test Driven Development a lot easier. Finally, we'll see how you can extend the new editor with your own functionality.

For more 10-4 episodes, be sure to visit:
http://channel9.msdn.com/shows/10-4

Visual Studio Topic Area on Channel 9:
http://channel9.msdn.com/VisualStudio

Visual Studio 2010 CTP VPC:
http://tinyurl.com/GetCTP

Managed Extensibility Framework Project
http://codeplex.com/MEF

Visual Studio 2010 Training Kit
http://tinyurl.com/VS10Kit

Over and out!

 

Rating:
6
0
Good stuff!

One small comment:
I noticed this in the code for the editor add-in:

[Order(Before="Selection")]

We've been doing the same thing in an in-house framework, specifying ordering constraints and letting the framework calculate a total ordering from the partial ordering. However, we concluded that a statement like:
Before="Selection"
could sometimes, depending upon the time of the day, day of the week, the mood of the programmer, the weather etc,
be interpreted as the current component being constrained to be before "Selection", other times to be interpreted as "Selection" being constrained to be before the current component. (ie, totally ambiguous)

We fond the situation to improve a lot when we added a little 'Me' at the end of 'Before' (and 'After'), like:
[Order(BeforeMe="Selection")]

Cheers,
Jarle
Visual Studio 2010 is being made with WPF?
warren
warren
atom heart mother
Drew, the ever-present football logo is seriously distracting from the presentation of the video.  These videos should be 100% focused on Visual Studio, not your sports interests.  Thanks.
Rhapsody
Rhapsody
In Metal We Trust

There's always something to complain about...right? :')

If you're not able to keep your focus on the Visual Studio part, it's not the fault of the presenter.

I agree.  It really made the video seem amateurish, like he was filming it in his dorm room.
Drew,

Well done. Really appreciate you putting these short videos together. With all the tech demands and trying to learn VSTS 2010, this is a great quick-hit. Can't wait for RTM!

Ummm, and for the record, Go Bucks! Wink
Rhapsody
Rhapsody
In Metal We Trust
When I heard of the 'new editor' in WPF I was a little bit shocked. because after all, it is a code editor. So there's no need for fancy things like gradients and pictures. But this video made it a lot clearer. Though it is a CTP, I hope that the editor will be as good as the plain old RichTextBox. (For example tooltips look horrible now as well as some flickering when selecting text)

But the extensibility of it is great. Especially the usage of MEF. I'm playing arround with MEF a little bit and it looks very very promising. I like the other features, like the navigation, as well!

Microsoft Communities