jiller / agentsmithplugin

Automatically exported from code.google.com/p/agentsmithplugin
0 stars 0 forks source link

Need more control on spell checking #62

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What would be great is an option to enable/disable spell checking
independently in:

1) Comments
2) XML comment
3) String literals

For instance, I have a huge project and the first thing I need is to fix
the class/member/method names. Then - if I have time - to fix the comments etc.

Also, looks like there should be an option to suppress the spell checking
error (i.e. if I have "mailto:" string I need an option to not to
spellcheck this string or some parts of comments/XML comments)

Original issue reported on code.google.com by motu...@gmail.com on 29 May 2008 at 9:44

GoogleCodeExporter commented 8 years ago
Disabling spell checking is possible: ReSharper->Options->Inspection Severity.

What would be a good way to suppress spell checking error? (in case of mailto: 
etc? )

Original comment by forever....@gmail.com on 30 May 2008 at 4:35

GoogleCodeExporter commented 8 years ago
// ReSharper disable SpellCheckStringLiterals
String myString1 = "Hello world";
// ReSharper restore SpellCheckStringLiterals

also, we can come up with
// ReSharper disable SpellCheckXmlComment
// ReSharper disable SpellCheckComment

or have unified 

// ReSharper disable SpellCheck
// ReSharper restore SpellCheck

Original comment by motu...@gmail.com on 31 May 2008 at 1:18

GoogleCodeExporter commented 8 years ago
I've added
//agentsmith spellcheck disable
and
//agentsmith spellcheck restore

(case insencitive)

Original comment by forever....@gmail.com on 6 Jun 2008 at 2:06