How do I enable spell checking in Eclipse?

28,722

Solution 1

I have found a spell checker and proved it (with your example), and it seems to work. Do the following steps:

  • Download espell checker as zip file
  • Call Help > Install New Software > Add... > Archive...
  • Insert the path and file name of the zip file.
  • Do the normal installation with restart
  • Go to Window > Preferences > Spelling > AspectJ, Java, ...
  • Ensure that Check Names is selected.

In your example, the word spllmstake is marked as wrong, as is spellmistake. spellMistake (like two words) works well.

Solution 2

Eclipse has a built-in Spell Checker. Go to Window > Preferences > General > Editors > Text Editors > Spelling to enable it.

Solution 3

I have founded spell checker from eclipse marketplace. It is JDT spell checker and here is the description

The aim is to provide spelling support for words contained in the names of Java artifacts: Interfaces, Classes, Methods, ... Splitting out the names using regular naming patters for Java names.

Eclipse marketplace - http://marketplace.eclipse.org/content/jdt-spelling#.U8drE7E3n34

Git hub - https://github.com/hendrens/jdt.spelling

Share:
28,722
Bmis13
Author by

Bmis13

I am Engineer solving problem for website scalability.

Updated on July 09, 2022

Comments

  • Bmis13
    Bmis13 almost 2 years

    Is there any way to enable code spell checking in Eclipse? I misspell words fairly often.

    For example: void spllmstake() => void spellmistake()

  • Dracs
    Dracs over 11 years
    I don't believe it will. Eclipse in-built spell checker is designed to recognise and only check text. It ignores code such as variable and method names AFAIK.
  • hmijail
    hmijail almost 8 years
    SpellMistake probably just seemed to work well because mixed-case words were ignored. Try SpellMstake.