An editor extension that checks the spelling of comments, strings, and plain text as you type or interactively with a tool window. Extra options are available to control how elements and attributes in XML and MAML files are spell checked.
Just got this, I love it so far! Great for checking my spellings in <p>'s. This is great, and I am guessing using this will save me at least 5% of my grade that I otherwise would have lost. Thank you EWoodruff!
Great extension and THANK YOU for making it freely accessible. For years I've pulled my hair out searching the code for spelling errors made by myself and other team members. And unfortunately our customers are the ones who caught the typos.
This not only catches our strings but also the comments!
If i could give you more than 5 stars, i would. It's a shame those other folks have not changed their votes. I'm using VS2013 Pro with the latest updates and this works great!
Essential extension for myself and my team as we clean up, support, and update decade old code. Having correct spelling helps clarify the code especially when working with international (second language) developers.
It appears that XML element 'param' for XML style code comments is being incorrectly marked as spelled incorrectly (this used to be ignored). This happened after I upgraded to VS2015 and downloaded the new extension. This problem did not occur in VS2013. Project is in VB.NET. VS2015 Enterprise.
Can you confirm the issue?
Yes, it is an issue. VS 2015 changed the way the classifier works and it's a lot more specific as to the various parts of the XML comments elements. It'll be fixed for the next release due out soon.
For future reference, please post such issues at the project site on GitHub as I'll see and respond to it in a more timely fashion: https://github.com/EWSoftware/VSSpellChecker/issues
This extension isn't working at all for me. It seems like a really great extension and I'd love to use it, so it's a shame that it's not working. I've tried other spell checkers, but they only have "real time" spell checking, which is bad because it's hard to tell the difference between a syntax error and a spell error in the scroll bar.
So I've tried disabling many extensions which I thought may be causing some sort of impact, but that didn't do anything. I haven't changed the global configuration file at all since I've installed it. I've even tried reinstalling VS Spell Checker, but still nothing. I've only tried C++ files (.cpp and .h) and VB files, but I wouldn't think that would change anything.
When I click on "Spell Check Current Document" I get a window with the following message:
"No text editor is selected, the spell checker is currently disabled, or the file is excluded by filename extension.
Select a text editor or edit the global configuration or the appropriate solution, project, folder, or file-specific configuration to enable spell checking or remove the excluded filename extension."
Has anyone had this problem before? If so, was there a solution? Like I said, I'd really like to use this extension. I love to be able to check spelling errors, but I don't like the way the other extensions do it. I'd really appreciate any help anyone could give me, and I thank you in advance.
Try removing the extension using the extension manager, restart Visual Studio, ensure it's been removed, and then install it again. A couple of people have had an issue where the install or automatic update from the Gallery didn't work correctly in the past and a reinstall corrected the problems they were having.
If the one in the gallery still doesn't work, uninstall, restart, close Visual Studio and use the package available at the GitHub project site (https://github.com/EWSoftware/VSSpellChecker/releases).
Awesome, I got it working! So I did all of what you said, EWoodruff, but it still wasn't working. Then I disabled VSCommands and it finally started working. :) I enabled VSCommands again and VS Spell Checker is still working. Thanks for the reply!
So I found another problem that causes the same behavior. If I change the (global) configuration, specifically the "Spell check as you type" setting, it displays the window with the same message as before. I'd like to only spell check when I explicitly say so, so this is causing an issue.
If you've turned the option off globally, then the tool window will not be useable as it does depend on the editor smart tags. The solution/project level spell checking option is probably what you want but I haven't implemented that option yet.
Hi we have a small team and a large solution with a dozen projects and need to share dictionaries in source control so all developers can have the "company" dictionary so all our internal 'misspellings' (which are words to us) are exempted. Can we accomplish this? Having a second 'personal' dictionary for each user is irrelevant for us so as single devs add words to the dictionary and update the source control, all devs will have the new word they added. Is this something we can accomplish? Where is the custom dictionary file stored on disk? Thank you!
The latest release (v2015.3.1.0) supports solution and project-specific configuration files. In them, you can add settings to define the location of a dictionary checked in with the solution/project. At the solution level, the dictionary would be used by all projects in the solution. At the project level, it would only be used by that particular project.
See the Configuration Files topic (https://github.com/EWSoftware/VSSpellChecker/wiki/Configuration-Files) for information on how the configuration files work and how to add them.
Once you've added the dictionary files and the user dictionary file to the solution/project, add a solution or project specific configuration file depending on your needs, open it and go to the Dictionary Settings page, and define the location of the dictionary files. Keep the relative path when prompted (https://github.com/EWSoftware/VSSpellChecker/wiki/Dictionary-Settings).
Unfortunately this appears to be the cause of disabling a lot of functionality (including Resharper) in VS when it gets an exception, so I had to uninstall it. If I get the exception even with it uninstalled, I will retract this post. The ActivityLog.xml entry follows:
<source>Editor or Editor Extension</source>
<description>System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TagAggregator'.
at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GetTags(NormalizedSnapshotSpanCollection snapshotSpans)
Based on the exception I reviewed the code and it does look possible for it to access the aggregator after disposal under some conditions. I haven't ran into it myself nor has it been reported but I've added code to fix that and it'll be in the next release.
In future, rather than posting about problems here, open an issue at the project site on GitHub (https://GitHub.com/EWSoftware/VSSpellChecker/issues). I'll see it and be able to respond in a more timely manner.
I would like to fork your project and host it in gallery.atmel.com which is a Visual studio Isolated shell based application. This will be benificial for all those users in there. Do i have your consent in doing so ?
Suppose I have a huge XML which elements name could be wrong like,
or so on.
Can i able to spell check those too ??
Currently I am able to spell check just fine whatever the text between the Elements <text> Dummy Text </text>
Appreciated your prompt reply.
Sorry, it only spell checks comments, content, and attribute values. It won't spell check element names, variable names, method names, etc. Since what you're trying to do here is validate the structure, your best bet would be to define an XML schema so that it validates the document elements that way and provides IntelliSense. See this MSDN entry for more information: http://msdn.microsoft.com/en-us/library/ms255815.aspx
I want to force Spell Checker to use only English, but it always takes my keyboard language (which is Spanish).
There's no "Tools -> Spell checker" menu at all or anything that let's me configure English as my sole spell checking language (literally, the "Tools -> Spell checker" does not exist). I don't see either anything under the "Tools -> Options" menu.
I also attempted maybe deleting all dictionaries but English, but the path your wiki points to (%LOCALAPPDATA%\EWSoftware\Visual Studio Spell Checker) does not exist either.
Where can I set English as my only spelling language?
I'm running VS2010 Ultimate over Windows 8 x64.
The folder won't exist unless you've changed the configuration. The default language is English. I don't supply a dictionary for any other languages by default so it will only spell check in English unless you take steps to install a foreign language dictionary.
If you've got my spell checker installed, you'll find its options under Tools | Spell Checker (Spell Check Current Document and Edit Configuration. Selecting Edit Configuration will bring up the configuration dialog. You'll see the available languages in the Default Language / User Dictionary category.
If you aren't seeing those options and it really is spell checking in Spanish then you've got some other spell checker installed. If in doubt, check Tools | Extensions and Updates and see which extension are listed. If mine is there, remove it and see if you still get spell checking. If so, something else is doing it.
If you mean to open the spell checker tool window, I did not assign a keyboard shortcut to avoid conflicts with others that people may have assigned to other commands. You can assign one of your choosing by going to Tools | Options | Environment | Keyboard, enter "spell" in the "Show commands containing" text box, and then assign a keyboard shortcut to the Tools.SpellCheckCurrentDocument command that is listed in the results.
I was thinking about the 'icon' that appears on hovering above a misspelled word. It would be nice if there is a feature like in Eclipse -- you move the keyboard cursor to a misspelled word and press a magic shortcut and the list of corrections appears so I do not to have touch the mouse to fix it.
Put the keyboard cursor anywhere in the underlined word and press "Ctrl+." (period) to open the smart tag menu. That will work for any smart tag such as interface implementation and other code refactoring smart tags too.
Hi, I personally think that it would be very beneficial to allow mis-spelling of a single word for the current project/solution.
The project I am working on has a company name that isn't a real word, however I don't want to add it to the dictionary as I'm afraid it may add to the global dictionary.
There's a work item open to support this in the future (https://vsspellchecker.codeplex.com/workitem/34155). If you do add it to the user dictionary or ignored word list, you can always remove it using the configuration options (Tools | Spell Checker | Edit Configuration and select the Default Language/User Dictionary category or the Ignored Words category).