Bug 51621 - [spell checking] Spell checking for Java code
Summary: [spell checking] Spell checking for Java code
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P5 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 225666 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-02-11 08:20 EST by Dani Megert CLA
Modified: 2012-03-31 07:23 EDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2004-02-11 08:20:14 EST
I200402102000

When coding we also normally use method and field names that contain valid words
like getStatus(). It would be cool if the spell checker could be used for this
as well.
Comment 1 Dani Megert CLA 2004-12-11 03:48:00 EST
And detect camel case like isActive() or getValue()
Comment 2 Dani Megert CLA 2006-11-21 03:57:26 EST
Currently no plans to work on this.
Comment 3 Dani Megert CLA 2007-06-22 09:59:19 EDT
Get rid of deprecated state.
Comment 4 Deepak Azad CLA 2010-04-17 13:27:04 EDT
*** Bug 225666 has been marked as a duplicate of this bug. ***
Comment 5 Jeffery Yuan CLA 2012-03-31 07:23:49 EDT
Today, I met the same problem - one of my colleague pointed out the method name is misspelled - the method name getFleFormat should be getFileFormat.

I was ashamed that I made such kind of mistake, and I was also happy that this problem was found during code review, if not, just imagine the code is released, and later customers point out the problem. How terrible it would be!

if Eclipse can help us to point out the misspell, it would save us from this kind of life-and-death problem.

Spell check on java method name or variable should be not hard - separate it to multiple words - in this example, get, Fle, Format - and determine whether each part is correct, and if not provide possible fix.

And also provide options to allow user enable and disable this feature, or provide a command to allow user to check the spell of java code in current opened java class.

Wish Eclipse team can implement this feature and make developer's life better : )