Bug 124525 - [assist] Smarter Autocompletion for variable names
Summary: [assist] Smarter Autocompletion for variable names
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: 3.2 M5   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-19 13:58 EST by Vera Henneberger CLA
Modified: 2006-07-17 12:31 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 Vera Henneberger CLA 2006-01-19 13:58:14 EST
Actually eclipse offers only a simple autocompletion for variables.
Examples:
Typing "String " & Autocompletion -> "String string".
Often name of variables should end with the type of the variable.
Example for smarter Autocompletion:
Typing "Element rootE" + Autocompletion -> "Element rootElement"
Comment 1 David Audel CLA 2006-02-07 11:35:40 EST
Fixed and tests added
  CompletionTests#testCompletionVariableName4() -> testCompletionVariableName14()

"Element root" is completed to "Element rootElement"
"Element firstRoot" is completed to "Element firstRootElement"
"Element rootEl" is completed to "Element rootElement"

if a prefix is defined (eg 'f')

"Element froot" is completed to "Element fRootElement"



Comment 2 Frederic Fusier CLA 2006-02-15 10:46:26 EST
Verified for 3.2 M5 using build I20060215-0010.