This project has moved. For the latest updates, please go here.

Installation

If you have currently got a spell checker extension installed, uninstall or disable it before installing this package. To install this package:
  • Download the latest release of the VSIX installer from the Downloads page of this project site.
  • Close all open instances of Visual Studio before installing the package.
  • Run the downloaded package and follow the prompts to install it. It can be installed in any version of Visual Studio 2010, 2012, and 2013 except the Express editions.

This package can also be installed from within Visual Studio from the Visual Studio Online Gallery using the Tools | Extension Manager option. Select the online gallery and search for "Visual Studio Spell Checker". Include the quote marks for an exact match and find the one created by EWSoftware. Once found, you can click the Download button to download and install it.

Once installed, you will find a new Spell Checker option on the Tools menu. Unless other packages have been installed that alter its position, it will be the fourth option from the bottom between the External Tools and the Import and Export Settings options. The submenu contains two options:
  • Spell Check Current Document - This opens the interactive spell checker tool window described below.
  • Edit Configuration - This opens the configuration dialog box which lets you adjust the spell checker settings.

Spell Check As You Type

In text editor windows, misspellings are highlighted by underlining them with a squiggly line. Place the mouse over the word and click the down arrow on the smart tag to see the available options. Alternately, you can place the cursor anywhere in the word and press Ctrl+. to show the smart tag options.
  • A list of suggestions is shown at the top. Selecting a word will replace the misspelling with that word. If you hold down the Ctrl key while clicking a suggestion or select one with the keyboard and press Ctrl+Enter, all occurrences of the misspelled word will be replaced with the selected suggestion.
  • Ignore Once - This option allows you to ignore the given instance of the misspelled word in the current file at the current location. All other misspellings of the same word will still be flagged. The given instance will be ignored as long as the file remains open. If closed and reopened, it will be flagged again.
  • Ignore All - Ignore all instances of the given misspelled word for the remainder of the Visual Studio session. When Visual Studio is closed and reopened the ignored word will be flagged again.
  • Add To Dictionary - This will add the word to the user dictionary so that it is no longer flagged as a misspelled word. In addition, the word will be presented as a suggestion for other misspelled words when appropriate. Use the Edit Configuration option to remove words from the user dictionary.

Spell Check Current Document

Selecting Tools | Spell Checker | Spell Check Current Document opens the interactive spell checker tool window. This tool window will only be usable when a code or text editor window is selected as the active document window. If a non-editor window is selected or if there are no misspellings, the buttons in the tool window will be disabled. Open or click on an existing editor window containing editable text to activate the tool window options. When there are misspellings in the active editor, it will be repositioned to the proper location and the misspelling will be highlighted.

NOTE: If the misspelling is within a collapsed section, the word will not be visible. To make it visible, click on the editor window's tab to select it and then expand the section containing the cursor. When you click on the spell checker tool window, it will reposition to the word and highlight it as usual.

The misspelled word is shown at the top of the tool window and any suggested replacements are shown in the list box on the left side. The following options are available:
  • Replace - Replace the current misspelled word with the selected suggestion. Double clicking a suggestion in the list will also cause the misspelled word to be replaced with the double clicked word.
  • Replace All - Replace all occurrences of the misspelled word with the selected suggestion. Holding down the Ctrl key when double clicking a suggestion in the list will also cause all occurrences of the misspelled word to be replaced with the double clicked word.
  • Ignore Once - This option allows you to ignore the given instance of the misspelled word in the current file at the current location. All other misspellings of the same word will still be flagged. The given instance will be ignored as long as the file remains open. If closed and reopened, it will be flagged again.
  • Ignore All - Ignore all instances of the given misspelled word for the remainder of the Visual Studio session. When Visual Studio is closed and reopened the ignored word will be flagged again.
  • Add Word - This will add the word to the user dictionary so that it is no longer flagged as a misspelled word and will present it as a suggestion for other misspelled words when appropriate. Use the Edit Configuration option to remove words from the user dictionary.

Once you have taken action on a misspelled word, the tool window will be updated and will move on to the next issue. If there are no more, a "(No more issues)" message is displayed in the misspelled word box.

Doubled Word Detection

The spell checker will also detect doubled words and highlight them. In such cases, the smart tag will contain an option to delete the doubled word and another to ignore it once. In the spell checker tool window, when a doubled word is reached the list box will contain a single "(Delete word)" entry and only the Replace and Ignore Once buttons will be available for use.

NOTE: Due to the way Visual Studio breaks up spans of text for interactive spell checking, it will only be able to detect doubled words if they appear on the same line. Doubled words that span line breaks cannot be detected.

Last edited Jun 14, 2014 at 9:37 PM by EWoodruff, version 7

Comments

No comments yet.