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 - [cc] Different completion on the same caret position
Summary: [cc] Different completion on the same caret position
Status: VERIFIED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Linux
: P3 blocker (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks: 151985
  Show dependency tree
 
Reported: 2008-10-02 10:54 UTC by Lukas Jungmann
Modified: 2012-04-03 14:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
scr-1 (241.51 KB, image/png)
2008-10-02 10:55 UTC, Lukas Jungmann
Details
scr-2 (222.01 KB, image/png)
2008-10-02 10:55 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
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)