This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 138242 - CamelCase completion
Summary: CamelCase completion
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.1
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-25 15:39 UTC by martin_adamek
Modified: 2012-03-07 18:11 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin_adamek 2008-06-25 15:39:21 UTC
Invoke completions here:
class NewGroovyClass {
  NGC|
}
You should offer in completion 'NewGroovyClass' but I see 'n', 'nGC' and 'ngc' that should not be there at all.
Comment 1 schmidtm 2008-07-21 17:30:05 UTC
I've added simple CamelCase-completion for types already imported with:

http://hg.netbeans.org/main/rev/e03649f94513

To have CamelCase-completion for other potential candidates we need to have the CamelCase signature for all types in the Classpath in the index.

You might move CodeCompleter.computeCamelCaseSignature() into one of the utility classes and reuse it.
Comment 2 Martin Janicek 2012-02-21 14:45:42 UTC
Still valid, but it's more an enhancement than a defect actually.
Comment 3 Martin Janicek 2012-03-01 15:35:24 UTC
Generally CamelCase completion for generating constructors has been already improved so now it supports also "NeGrooC" variant and similar:

Revisions behind this:
web-main #5b1c26716eb5
web-main #b3f6ef4a86f8

Still need to implement camelcase completion for other types --> Changing to enhancement and increasing priority. Would be nice to have this for 7.2 but not sure now if it will be enough of time.
Comment 4 Martin Janicek 2012-03-05 12:16:09 UTC
Class type completion implemented in: web-main #4a585f773cd9
Comment 5 Quality Engineering 2012-03-07 18:11:18 UTC
Integrated into 'main-golden', will be available in build *201203071105* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4a585f773cd9
User: Martin Janicek <mjanicek@netbeans.org>
Log: #138242 - CamelCase completion