Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
VS2010 extension to improve the XML editor experience
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
Properties Fix potential exception on XML matching tagger when scrolling all the…
Sgml Replacing XmlReader with SgmlReader to improve support. Should now fi…
.gitignore Initial version highlighting just closing tags
BetterXml.csproj Updating project and cleaning up code
BetterXml.sln More renaming
QuickInfo.cs Initial implementation. Can highlight opening and closing tag, and ha…
QuickInfoController.cs Refactoring + Tooltip only shows on prefixes Updating readme
XmlTagMatchingTagger.cs Fix potential exception on XML matching tagger when scrolling all the…
source.extension.vsixmanifest Fix potential exception on XML matching tagger when scrolling all the…

BetterXml VS2010 Extension

This is a sample extension for Visual Studio 2010 that improves the XML editing experience.

Syntax Highlighting

  1. Highlighting XML closing tags with a format different from opening tags. Adjust the "XML Closing Tag" classification format to configure it.

  2. Highlighting XML prefixes on attributes and tags with a new format, configured using the "XML Prefix" classification format.

Both features are supported on XML, XAML and HTML documents.

classification sample

Namespace Tooltips

Tooltips showing the namepace URI associated with a prefix when you hover the mouse over the prefix.

tooltips sample

This can be a bit slow at times because right now it requires parsing the document partially. This feature is only supported for XML and XAML documents.

Matching Element Tags

When the caret is over an XML element, the element opening and closing tags will be highlighted.

highlight sample


  1. Install the Visual Studio 2010 SDK. You'll need it for building custom extensions.
  2. Open the solution in Visual Studio 2010 and build it.
  3. Close all open VS2010 instances.
  4. Using Windows Explorer, navigate to the project's output folder and double click on the BetterXml.vsix generated.

That's it!

Something went wrong with that request. Please try again.