I am using Eclipse 3.7SR2 and I have an issue with the Java editor spell-checker marking e-mail addresses:
Perhaps I am a bit obsessive, but I really dislike seeing those red blots - if not for any other reason, then just because real spelling errors could be missed in the crowd.
Is there a way to fix this on a permanent basis without disabling spell-checking completely?
UPDATE:
Adding the "word" in question (e.g. @example.com
) to the user dictionary manually and restarting Eclipse does not seem to solve this issue.
Go to: Window -> Preferences, choose General, Editors, Text Editors, Spelling and disable spell checking.
Here's how. Click File > Options > Proofing, clear the Check spelling as you type box, and click OK. To turn spell check back on, repeat the process and select the Check spelling as you type box.
Click the FILE tab and Options. Click Mail and Spelling and AutoCorrect. Down here, you have options for the Spelling Checker. For example, you can uncheck Check Spelling as you type, if you don't want to see the red squiggly lines under misspelled words.
Eclipse has a built-in Spell Checker. Go to Window > Preferences > General > Editors > Text Editors > Spelling to enable it.
It is possible to get Eclipse to ignore email addresses using a User Dictionary:
This solution is not obvious because the spell checker highlights the "@" symbol too. But if "@example.com" is added to the dictionary, it does not stop the spell checker from complaining. You have to manually add the domain excluding the "@".
Um, i can't find one. On the other hand, an inelegant solution would involve putting a capitalisation in the email address.
So [email protected] will get the error, but [email protected] will not. Or [email protected], which reads better.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With