jiller / agentsmithplugin

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

Need to be able to suppress spellchecking in string literals #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Need to be able to suppress spell checking in string literals.

i.e.

there should be a way to suppress it here:

String myString = String.Format("mailto:{0}", email);

but still have spell checking here:

String myString1 = "Hello world";

P.S. The "split string" solution looks ugly - sometimes I want to search
for a particular string in the code.

Original issue reported on code.google.com by motu...@gmail.com on 14 May 2008 at 1:51

GoogleCodeExporter commented 8 years ago
What would be a good way to distinguish strings to be spell checked from those 
that 
should not be spell checked?

Original comment by forever....@gmail.com on 15 May 2008 at 8:00

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
//agentsmith spellcheck restore

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