netbeans-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geertjan Wielenga <geertjan.wiele...@googlemail.com.INVALID>
Subject Re: NetBeans 9.0 inserts class with fully qualified name when code completition is used
Date Tue, 09 Oct 2018 08:58:27 GMT
Guys,

Save yourself and everyone time — join the NetCAT program so that you can
test, try out, and give feedback on these items for Apache NetBeans 10. The
first voting candidate, i.e., the Alpha release, is already available.

Gj

On Tuesday, October 9, 2018, Alex Sviridov <ooo_saturn7@mail.ru.invalid>
wrote:

> I can say two situations, when code completion inserts class fully
> qualified name in code
> instead of import + short name:
> 1) When I use code templates.
> 2) When in code I press Ctrl+Space two times to get full list and select
> from this list.
>
> Best regards, Alex
>
> Вторник, 9 октября 2018, 11:19 +03:00 от Peter Nabbefeld <
> peter.nabbefeld@gmx.de>:
>
>
> Hi,
>
> I've got another problem: Code completion doesn't work at all at some
> circumstances. So we'll have to see some more context, IMHO.
>
> Places where code completion does not work for me:
> - in braces (e.g. loop odr if conditions)
> - if I want to import a class included in the JDK (but  only as long as
> there isn't an import statement already for this class).
>
> Places/conditions where code completion doesn't work correctly for You?
>
> Kind regards
> Peter
>
>
> Am 09.10.18 um 09:27 schrieb Alex Sviridov:
> > Hi all
> >
> > I use NetBeans 9.0 and when I use code completion NetBeans inserts
> >  fully qualified name.
> > For example, I have:
> >
> > String s = "This is my code";
> > com.temp.foo.SuperFoo superFoo....
> >
> > When I used previous versions full qualified name was added to "import
> > section" and I had
> >
> > import com.temp.foo.SuperFoo;
> > .....
> > String s = "This is my code";
> > SuperFoo superFoo....
> >
> > Could anyone say how to fix it?
> >
> > --
> > Alex Sviridov
>
>
>
> --
> Alex Sviridov
>

Mime
View raw message