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 250453

Summary: Autocomplete should suggest names for for newly declared variables
Product: cnd Reporter: brian26198
Component: Code CompletionAssignee: issues@cnd <issues>
Status: NEW ---    
Severity: normal    
Priority: P3    
Version: 8.0.2   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: An example of when the autocompletion could be useful.

Description brian26198 2015-02-17 04:08:15 UTC
Created attachment 152019 [details]
An example of when the autocompletion could be useful.

When declaring a variable, I think it would be nice if the IDE suggested a name for the variable as it does with java. If the declared type is upper camel case and non-template, then it should suggest the variable to be the lower camel case version. 

Also it should behave similar to java for the standard template library. For example an for a variable declared as an std::vector<T>, the name "ts" should be suggest, similar to how java would suggest "ts" for List<T>.