Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse: how to selectively disable spell check in certain comments

I am using Eclipse, Kepler version.

How do I disable the spell checking inside comments?

I do see "Window | Preferences | General | Editors | Text Editors | Spelling", but this sheet has no option about disabling spell checking inside comments.

Ideally, I would like to disable spell checking for a specific comment.

In other places spell checking comments can be useful.

Additionally, I did see the other referenced solution, which I am using and did use, but I did not want to disable spell checking for good. I wanted to turn off spell checking in certain situations but leave it on for others. That was addressed in a comment, so if the negative vote was because my question was addressed elsewhere, then it was not.

like image 471
Sarah Weinberger Avatar asked Jan 07 '14 22:01

Sarah Weinberger


2 Answers

There is not a way to turn off spell checking for a comment. You've either got words in there or you don't. You can, however, add what's been flagged as a misspelling to your own user dictionary, in which case that particular word will be ignored.

like image 52
nitind Avatar answered Oct 15 '22 17:10

nitind


You can disable spell checking:

Window->Preferences :: General->Editor->Text Editors->Spelling,
uncheck the box "Enable spell checking"

enter image description here

like image 28
Sumit Singh Avatar answered Oct 15 '22 16:10

Sumit Singh