Miguel created NETBEANS-4011:
--------------------------------
Summary: Allow feature "Assign Value To New Variable" to user var
Key: NETBEANS-4011
URL: https://issues.apache.org/jira/browse/NETBEANS-4011
Project: NetBeans
Issue Type: Improvement
Components: java - Editor
Affects Versions: 11.3
Reporter: Miguel
When using the editor feature "assign value to new variable" it would be nice
to have the possibility to configure whether the variable generated is created
with the full type declaration or "var", either always, never or on a case by
case basis.
For example:
``java
// generated now
boolean isBlank = " ".isBlank();
// would be cool
var isBlank = " ".isBlank();
```
Of course this would only work for local variables inside function as per
definition
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists