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 2019/03/27 05:18:00 UTC

[jira] [Updated] (NETBEANS-2315) Switch expression multi cases should have Enum values in auto complete options

     [ https://issues.apache.org/jira/browse/NETBEANS-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated NETBEANS-2315:
-------------------------------------
    Labels: pull-request-available  (was: )

> Switch expression multi cases should have Enum values in auto complete options
> ------------------------------------------------------------------------------
>
>                 Key: NETBEANS-2315
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-2315
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: vikas kumar prabhakar
>            Assignee: vikas kumar prabhakar
>            Priority: Major
>              Labels: pull-request-available
>
> The multi cases in switch expression should show the enum value in auto complete options:
> Example:
> enum state \{CANCELLED, INTERRUPTING, INTERRUPTED, NORMAL , EXCEPTIONAL}
> String status = switch (state) {
> case NORMAL -> "[Completed normally]";
> case EXCEPTIONAL, {color:#d04437}<caret pos>{color} -> "[Completed exceptionally: " + outcome + "]";
> The auto complete option at <caret pos> should contain the enum value of \{CANCELLED, INTERRUPTING, INTERRUPTED}



--
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