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 109001

Summary: 6.0: code completion not working for creating setter and getter by typing "set"
Product: java Reporter: Masaki Katakai <masaki>
Component: UnsupportedAssignee: Dusan Balek <dbalek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Masaki Katakai 2007-07-06 04:11:53 UTC
On 6.0 M10, hint for creating setter and getter method are not invoked.

1. Edit java file
2. Add variable
3. type "set" then Ctrl+\

At 5.x, it will show

    Create setter setA for field a

But it does not come up on NetBeans 6.0 M10.

Is this expected behavior?
Comment 1 Dusan Balek 2007-07-30 13:57:04 UTC
Fixed.

Checking in editor/java/JavaCompletionItem.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionItem.java,v  <--  JavaCompletionItem.java
new revision: 1.51; previous revision: 1.50
done
Checking in editor/java/JavaCompletionProvider.java;
/cvs/java/editor/src/org/netbeans/modules/editor/java/JavaCompletionProvider.java,v  <--  JavaCompletionProvider.java
new revision: 1.128; previous revision: 1.127
done
RCS file: /cvs/java/editor/src/org/netbeans/modules/java/editor/resources/setter_badge.png,v
done
Checking in java/editor/resources/setter_badge.png;
/cvs/java/editor/src/org/netbeans/modules/java/editor/resources/setter_badge.png,v  <--  setter_badge.png
initial revision: 1.1
done
RCS file: /cvs/java/editor/src/org/netbeans/modules/java/editor/resources/getter_badge.png,v
done
Checking in java/editor/resources/getter_badge.png;
/cvs/java/editor/src/org/netbeans/modules/java/editor/resources/getter_badge.png,v  <--  getter_badge.png
initial revision: 1.1
done