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.
Hey, first of all thanks for your amazing extension! It works perfectly fine for me except one little issue^ I can't get how to add more Doxygen tags to the globally ignored list.
For example, I'm trying to add "\htmlonly" tag, but it still highlights in the text editor: http://i.imgur.com/7lqgvUD.png
And it works fine if I add "htmlonly", but it feels incorrect since all other Doxygen tags are added with leading backslash and they are get correctly ignored.
Adding it without the leading "\" is correct. If you attempt to do so in the configuration editor, it will remove it. The only time you need a leading slash is if the tag starts with what looks like a valid escape sequence (\a, \t, \f, etc.). In all other cases, the leading slash is treated as a word break and won't skip the following letter. See the ignored words wiki topic for details: https://github.com/EWSoftware/VSSpellChecker/wiki/c592c4d8-7387-47fe-9b79-28bf0168f447
Is there a way to disable the scroll markers of the location of spelling. I would like only to underline the wrong spelled words.
I do not want to see the scroll markers because on some files I do not maintain I have almost a continuous pink line. (Vs 2013 community)
There is no way to turn off the markers for just the spell checker. Visual Studio doesn't provide a way to do that. The only way to turn them off is globally for all such markers by going into Tools | Options | Text Editor | All Languages | Scroll Bars and turning off the "Show errors" option. The side effect is that you won't see markers for syntax errors etc. either.
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.