You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/05/02 08:39:00 UTC
[jira] [Updated] (NETBEANS-694) show var hint for variable
declaration containing diamond operator
[ https://issues.apache.org/jira/browse/NETBEANS-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated NETBEANS-694:
------------------------------------
Labels: JDK10-LVTI pull-request-available (was: JDK10-LVTI)
> show var hint for variable declaration containing diamond operator
> ------------------------------------------------------------------
>
> Key: NETBEANS-694
> URL: https://issues.apache.org/jira/browse/NETBEANS-694
> Project: NetBeans
> Issue Type: Improvement
> Reporter: Reema Taneja
> Assignee: Reema Taneja
> Priority: Minor
> Labels: JDK10-LVTI, pull-request-available
>
> HashMap<String, String> map = new HashMap<String, String>();
> shows below hints in Alt+Enter dropdown:
> -Use diamond inference
> -Replace explicit type with var
> Selecting Hint 'Use diamond inference' converts code to
> HashMap<String, String> map = new HashMap<>();
> Earlier displayed hint 'Replace explicit type with var' isn't displayed anymore in alt+enter.
> We should display the earlier displayed hint, and upon selection, replace type and convert statement to replace diamond operator with generic param types.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists