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 49516 - CC doesn't work for function result
Summary: CC doesn't work for function result
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: Martin Roskanin
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2004-09-24 11:03 UTC by cezariusz
Modified: 2007-11-05 13:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cezariusz 2004-09-24 11:03:23 UTC
NetBeans IDE Dev (Build 200409191800)
JDK 1.5.0-rc-b63

Write following code in a JSP page:

<%
    String str = "test";
    str.getClass().

Code completion doesn't show for Class, 
Ctrl+Space doesn't help.
Writting the same in java file:

    public void test() {
        String str = "test";
        int l = str.getClass().getAnnotations
().length;

CC works for every part (str., getClass()., 
getAnnotations().).
Comment 1 Petr Pisl 2004-09-24 13:16:19 UTC
This is regression. This worked before. Thanks for the reporting. 
Comment 2 cezariusz 2004-09-28 06:57:25 UTC
Shall I add the REGRESSION keyword?
Comment 3 Petr Pisl 2004-09-29 09:53:51 UTC
Yes you can:)
Comment 4 cezariusz 2004-10-05 15:28:17 UTC
"product feature (identifiable part of functionality) does not work, 
no workaround exists"
"regression in functionality"
Comment 5 Petr Pisl 2004-10-05 16:33:32 UTC
The regression can be in the java part. I put Martin on cc. 
Comment 6 Petr Pisl 2004-10-05 16:36:04 UTC
I don't think this is P1. At maximum it can be P2. 
Comment 7 Martin Roskanin 2004-10-06 13:51:10 UTC
CC does't work for me also for <% getClass().| %> or <% new JButton().| %>
I will look at it in editor part of code.
Comment 8 Martin Roskanin 2004-10-06 16:09:24 UTC
it is editor problem. reassigning.
Comment 9 Petr Pisl 2004-10-06 16:42:51 UTC
Thanks Martin.
Comment 10 Martin Roskanin 2004-10-07 09:02:19 UTC
fixed in [maintrunk]

/cvs/editor/libsrc/org/netbeans/editor/ext/java/JavaCompletionQuery.java,v
 <--  JavaCompletionQuery.java
new revision: 1.50; previous revision: 1.49
Comment 11 cezariusz 2004-10-28 12:35:27 UTC
v. 200410271800