You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "vikas kumar prabhakar (JIRA)" <ji...@apache.org> on 2019/04/04 08:06: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 ]

vikas kumar prabhakar updated NETBEANS-2315:
--------------------------------------------
    Issue Type: Improvement  (was: Bug)

> 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: Improvement
>            Reporter: vikas kumar prabhakar
>            Assignee: vikas kumar prabhakar
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> 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