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 74806

Summary: [ED-37] Code completion doesn't offer method names when declaring method
Product: editor Reporter: jrojcek <jrojcek>
Component: Completion & TemplatesAssignee: Dusan Balek <dbalek>
Status: RESOLVED WONTFIX    
Severity: blocker CC: markiewb
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://ui.netbeans.org/nonav/usability/editor_Aug_25_05/report.html#ED37
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 152194    

Description jrojcek 2006-04-11 10:03:12 UTC
Finding	
Participant wrote method usage first and then wanted to write its declaration. Expected that the code 
completion would offer the method name. It didn't. Participant said: "The name is right here" (it was 2 
lines above :-). He had to write it manually. The code and cursor position when he invoked code 
completion was:

		static {
		    readWords();
		}
		
		private static void rea|
		                       ^ cursor
		
Severity	
1 participant expected this behavior.

Recommendation	
Provide code completion in this situation offering the method name.
Comment 1 Vitezslav Stejskal 2007-02-11 06:54:22 UTC
Still not working properly, even though some offer is made the function name is
not on the list.
Comment 2 Jan Becicka 2007-10-17 14:30:06 UTC
User can use create method hint.
Comment 3 Jiri Prox 2008-04-11 00:42:06 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 4 Martin Balin 2016-07-07 07:26:01 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss