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.
For C/C++ identifier setting takes over. There is no setting for local variables.
Same is true for enumerations, and perhaps other data types as well.