[ https://issues.apache.org/jira/browse/NETBEANS-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-694. -------------------------------------- Resolution: Fixed Fix Version/s: 9.0 Marked as resolved as the corresponding PR has been merged. > 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 > Fix For: 9.0 > > Time Spent: 1h 50m > Remaining Estimate: 0h > > 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-unsubscr...@netbeans.apache.org For additional commands, e-mail: commits-h...@netbeans.apache.org For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists