Welcome to MSDN Blogs Sign in | Join | Help

Spell checking in XML files

A few people asked if HTML Spell Checker can check XML and XSLT files. Not directly, as XML files are handled by a separate XML Editor which my add-in does not directly work with. However, you do can spell check XML and other markup based files if you open them as HTML since HTML editor is able to parse XML files. Here is how to do it:

1. Right-click on the file in the Solution Explorer and choose 'Open With...'.
2. Select HTML Editor and click Open.

If file is not in the solution:

1. Choose File | Open
2. Click on the small arrow on the Open button and select Open With...
3. Select HTML Editor and click Open.

Now Tools | HTML Spell Checker command should become available.

You may have to customize spell checking rules in the rules.xml file (see the main post) as the file is tailored to HTML and ASP.NET files.

Published Thursday, April 20, 2006 9:39 AM by Mikhail Arkhipov (MSFT)

Comments

# Spell Checker for HTML and ASP.NET pages

I finally finished writing HTML spell checker add-on to Visual Studio. Spell checker works in Source...
Thursday, April 20, 2006 12:48 PM by Mikhail Arkhipov (MSFT)'s WebLog

# re: Spell checking in XML files

Thanks, that seems to work. Strange that HTML and XML are handled by different code editors -- probably an artifact of their different design views?
Friday, April 21, 2006 4:07 AM by Chris Nahr

# re: Spell checking in XML files

Do you have any additional examples of customization rules that have been added in the rules.xml?
Thursday, May 04, 2006 11:47 AM by d4sailfish

# Spell Checker for HTML and ASP.NET pages

I finally finished writing HTML spell checker add-on to Visual Studio. Spell checker works in Source

Sunday, April 29, 2007 8:13 PM by Mikhail Arkhipov (MSFT)'s WebLog
New Comments to this post are disabled
 
Page view tracker