On Thu, Mar 19, 2020 at 6:52 PM Emilian Bold <emilian.b...@gmail.com> wrote:

> seems like a neat feature to add to Java too...
>

It does seem work for Java for me - if I have a switch, which is missing
some possible cases, and I put the cursor inside the "switch" (or after
it), there is a lightbulb on the left, and when I press Alt-Enter (or click
on the lightbulb), and choose "Add missing case clauses", the missing cases
are generated for me.

Jan


> --emi
>
> On Thu, Mar 19, 2020 at 6:18 PM Jerome Lelasseux
> <lelass...@yahoo.com.invalid> wrote:
> >
> > I just realized the annoucement below was specific for C/C++... I use
> java.
> >
> > Le jeudi 19 mars 2020 à 17:14:25 UTC+1, Jerome Lelasseux
> <lelass...@yahoo.com.invalid> a écrit :
> >
> >
> > Hi,
> >
> > Since 8.1 Netbeans seems able to generate missing switch clauses:
> >
> http://wiki.netbeans.org/NewAndNoteworthyNB81#Generate_missing_switch_clauses
> >
> > How to access it ?
> >
> > I tried ctrl-space in various places, alt-insert, without success.
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-h...@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>

Reply via email to