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 148936

Summary: [cc] Different completion on the same caret position
Product: groovy Reporter: Lukas Jungmann <jungi>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: VERIFIED FIXED    
Severity: blocker CC: vriha
Priority: P3    
Version: 6.x   
Hardware: All   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 151985    
Attachments: scr-1
scr-2

Description Lukas Jungmann 2008-10-02 10:54:34 UTC
class Foo {

    String say() {
        String s = new String|
    }
}

=> see screenshot-1

class Foo {

    String say() {
        String s = new String|("sss");
    }
}

=> see screenshot-2


I'd expect cc to offer same stuff in both cases, not different as can be seen on screenshots
Comment 1 Lukas Jungmann 2008-10-02 10:55:03 UTC
Created attachment 71035 [details]
scr-1
Comment 2 Lukas Jungmann 2008-10-02 10:55:27 UTC
Created attachment 71036 [details]
scr-2
Comment 3 Petr Hejl 2008-12-11 10:25:19 UTC
Reproducible. Part of umbrella issue. Should be fixed for M2.
Comment 4 Martin Janicek 2011-12-05 15:57:38 UTC
Still valid issue. Setting TM --> 7.2
Comment 5 Martin Janicek 2012-02-20 13:42:03 UTC
Part of umbrella issue --> blocks issue 151985
Comment 6 Martin Janicek 2012-02-21 13:45:08 UTC
Fixed in: web-main #5b3e5062e34e
Comment 7 Quality Engineering 2012-02-22 11:03:47 UTC
Integrated into 'main-golden', will be available in build *201202220400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/5b3e5062e34e
User: Martin Janicek <mjanicek@netbeans.org>
Log: #148936 - [cc] Different completion on the same caret position + changing constructor completion to work in the same way as for .java files
Comment 8 Vladimir Riha 2012-04-03 14:13:10 UTC
verified

Product Version: NetBeans IDE Dev (Build 201204021038)