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 - Autocomplete should suggest names for for newly declared variables
Summary: Autocomplete should suggest names for for newly declared variables
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@cnd
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-17 04:08 UTC by brian26198
Modified: 2015-02-17 04:08 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
An example of when the autocompletion could be useful. (28.19 KB, image/png)
2015-02-17 04:08 UTC, brian26198
Details

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