You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "David Green (JIRA)" <ji...@apache.org> on 2019/03/01 02:16:00 UTC
[jira] [Created] (NETBEANS-2187) Command completion on assignment
David Green created NETBEANS-2187:
-------------------------------------
Summary: Command completion on assignment
Key: NETBEANS-2187
URL: https://issues.apache.org/jira/browse/NETBEANS-2187
Project: NetBeans
Issue Type: Bug
Affects Versions: 10.0, 11.0
Reporter: David Green
Attachments: Screen Shot 2019-02-28 at 8.13.18 PM.png
h3. Steps
# Open class {{completion.SmartAssign }}from sample project
# Type {{List l = }}at the end of test method and call smart CC
# Replace last entered line with {{List<String> l = }}and call smart CC
# Replace last entered line with {{List<String> l = new }}and call smart CC
# open class {{completion.SmartReturn }}from sample project
# Replace last line of method {{getName }}with {{return }}and call smart CC
# Replace last line of method {{getName }}with {{return "". }}and call smart CC
# Replace last line of method {{getName }}with {{return new }}and call smart CC
h3. Expected result:
In step 2 all elements of type (or returning type) String are listed together with all static methods from class java.lang.String returning String
In step 3 all methods of java.lang.String returning String are listed
In step 4 identifier String is inserted, since it was the only possible completion in this situation (String cannot have subclasses it's final)
Actual - many more things are returned. See attached graphic.
--
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