Bug 119842 - camel case matching: consider digit sequence as camel hunk
Summary: camel case matching: consider digit sequence as camel hunk
Status: VERIFIED DUPLICATE of bug 109695
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC All
: P3 enhancement (vote)
Target Milestone: 3.4 M2   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-08 06:21 EST by Tom Hofmann CLA
Modified: 2007-09-17 11:36 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Hofmann CLA 2005-12-08 06:21:26 EST
I20051206

Camel case assist is cool. A frequent pattern within eclipse is to number extension interfaces:

IDocumentExtension
IDocumentExtension2
IDocumentExtension3
IDocumentExtension4

"IDE" cc-matches any of the above, but "IDE3" does not. This is consistent with the word breaks in the Java editor.

However, I propose that "IDE3" cc-matches "IDocumentExtension3" and "IDocumentExtension315", but not "IDocumentExtension135".

That is, sequences of digits should be considered a camel hunk on their own, no matter whether they occurr within upper or lower case letters.

"MP3TagInfo" would be split into "¦MP¦3¦Tag¦Info¦", which may be unexpected?
Comment 1 Frederic Fusier CLA 2005-12-08 06:26:48 EST
Is it specific to code assist or a pure duplicate of bug 99195?
Comment 2 David Audel CLA 2005-12-08 06:34:01 EST
It's not specific to codeassist.

*** This bug has been marked as a duplicate of 109695 ***
Comment 3 Eric Jodet CLA 2007-09-17 10:35:18 EDT
Verified for 3.4 M2 using build I20070917-0010.
Comment 4 Eric Jodet CLA 2007-09-17 10:36:30 EDT
Verified for 3.4 M2 using build I20070917-0010.