You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2019/03/27 05:17:06 UTC

[GitHub] [incubator-netbeans] vikasprabhakar opened a new pull request #1175: [NETBEANS-2315] Switch expression multi cases should have Enum values…

vikasprabhakar opened a new pull request #1175: [NETBEANS-2315] Switch expression multi cases should have Enum values…
URL: https://github.com/apache/incubator-netbeans/pull/1175
 
 
   … in auto complete options
   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, <caret pos> -> "[Completed exceptionally: " + outcome + "]";
   
   The auto complete option at <caret pos> should contain the enum value of {CANCELLED, INTERRUPTING, INTERRUPTED}

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists