Splitting XAML Empty-Element Tags in Visual Studio
Quick question, and I hope I'm using the right terminology :)
I'm using Visual Studio 10. Is there a keyboard shorcut for splitting an empty element tag?
For example, I want to turn:
<element />
into:
<element></element>
quickly. This is just a minor nuisance, but editing XAML, for a beginner like me, is very time consuming. I spend a lot of time just splitting up tags to add attributes. I w开发者_如何转开发as just hoping there was some sort of shortcut in VS for this.
Thanks! Jerry
Resharper does it, but I don't think VS can do it out of the box...
Anyway, there's a quick way to split a tag: delete the closing sequence ("/>"), and just add an closing angled bracket (">"): VS will automatically create the closing tag
精彩评论