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 270966 - Enable Code Assistance to propose object name based on class name
Summary: Enable Code Assistance to propose object name based on class name
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.2
Hardware: PC Other
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-26 08:16 UTC by gromit190
Modified: 2017-06-26 18:41 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
Comparing code assistance object name proposal in Java and CND (28.70 KB, image/png)
2017-06-26 08:21 UTC, gromit190
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gromit190 2017-06-26 08:16:35 UTC
When developing a Java project in NetBeans, Code Assistance (ctrl+space) proposes that the name of an object is equal to the name of the class which the object will be an instance of. Example:

MyClass myClass;

When typing this, I could use code assistance to generate the variable (object) name for me. I've become absolutely addicted to this feature, because I usually name my objects like this (when coding Java) and it seems very common to do so.

I would love to see the same feature in NetBeans CND
Comment 1 gromit190 2017-06-26 08:21:03 UTC
Created attachment 164627 [details]
Comparing code assistance object name proposal in Java and CND