From users-return-1760-archive-asf-public=cust-asf.ponee.io@netbeans.apache.org Tue Oct 9 10:58:39 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id B4B14180668 for ; Tue, 9 Oct 2018 10:58:38 +0200 (CEST) Received: (qmail 17662 invoked by uid 500); 9 Oct 2018 08:58:37 -0000 Mailing-List: contact users-help@netbeans.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@netbeans.apache.org Received: (qmail 17652 invoked by uid 99); 9 Oct 2018 08:58:37 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Oct 2018 08:58:37 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 19C0E180A78 for ; Tue, 9 Oct 2018 08:58:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.888 X-Spam-Level: * X-Spam-Status: No, score=1.888 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=googlemail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id ncOECrJr5kw2 for ; Tue, 9 Oct 2018 08:58:35 +0000 (UTC) Received: from mail-yb1-f179.google.com (mail-yb1-f179.google.com [209.85.219.179]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 142445F492 for ; Tue, 9 Oct 2018 08:58:35 +0000 (UTC) Received: by mail-yb1-f179.google.com with SMTP id g15-v6so313663ybf.6 for ; Tue, 09 Oct 2018 01:58:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Iv+ZOyv+Ed/M4O6OmQT4ToVq+Gli9k9ISTyCZhl/QrE=; b=kK44FPBdSSH7WuEE/q9vqKp0QJOyP7GlZPPRg4Cnpn3OCaFctZ4mkh0DQAzQxTm9s6 NTkoQ7IEkrJ+WCwgtYYw/RrLONooNOU0gl6CwG+62PckArDlmYe9+HXm6nNHHzkfupdu CCo+tiYNGEV1+G8LOfQhSVo91EZCZv7cYiC1Wa1XLe47myi1O2G9YIw1vS3c9PgivkLL wIZHJ7NvpUXcEwpu8JXQDI1yAfbeoQleY+NdIwWfR6PrormAYuRX7VyRYJbvwTcE3AwR eVChZIbuticewEztI08w0z8IRa8sXuLCfJTA6VXUQgQCLDVz/ctAv+XS7A9FQoj4YNDH Vvog== X-Gm-Message-State: ABuFfoin/Bg2/C+UNshEy+Ib7qoeGHspSCzxbuG+8QRmypv/Awl/mvk1 mnDglgqYoxmbRqvwkCjGHC4QfqCkdK6B8HvOvjif4Q== X-Google-Smtp-Source: ACcGV63UqLymYOoZlXvKW9x9fMbkP14hKhzxjZGSF774bHccbX51+j/hIG4Hdevsx+RymZT4cIvHDjyWsZJ27rXnk8c= X-Received: by 2002:a25:5507:: with SMTP id j7-v6mr15292809ybb.133.1539075508388; Tue, 09 Oct 2018 01:58:28 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:1006:0:0:0:0:0 with HTTP; Tue, 9 Oct 2018 01:58:27 -0700 (PDT) In-Reply-To: <1539074664.677552784@f530.i.mail.ru> References: <1539070059.346662367@f519.i.mail.ru> <1539074664.677552784@f530.i.mail.ru> From: Geertjan Wielenga Date: Tue, 9 Oct 2018 10:58:27 +0200 Message-ID: Subject: Re: NetBeans 9.0 inserts class with fully qualified name when code completition is used To: NetBeans Mailing List Content-Type: multipart/alternative; boundary="000000000000f5c8fc0577c7f070" --000000000000f5c8fc0577c7f070 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Guys, Save yourself and everyone time =E2=80=94 join the NetCAT program so that y= ou 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 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 > > =D0=92=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 9 =D0=BE=D0=BA=D1=82=D1=8F=D0= =B1=D1=80=D1=8F 2018, 11:19 +03:00 =D0=BE=D1=82 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 =3D "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 =3D "This is my code"; > > SuperFoo superFoo.... > > > > Could anyone say how to fix it? > > > > -- > > Alex Sviridov > > > > -- > Alex Sviridov > --000000000000f5c8fc0577c7f070 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Guys,

Save yourself and everyone time =E2=80=94 join= the NetCAT program so that you can test, try out, and give feedback on the= se items for Apache NetBeans 10. The first voting candidate, i.e., the Alph= a release, is already available.

Gj

= On Tuesday, October 9, 2018, Alex Sviridov <ooo_saturn7@mail.ru.invalid&= gt; wrote:
I can say two situations, when code completion inserts class fully qua= lified name in code
instead of import + short name:
1) When I use cod= e templates.
2) When in code I press Ctrl+Space two times to get full li= st and select from this list.

Best regards, Alex
=D0=92=D1=82=D0=BE=D1=80=D0=BD=D0=B8=D0=BA, 9 =D0=BE=D0=BA=D1=82=D1=8F=D0= =B1=D1=80=D1=8F 2018, 11:19 +03:00 =D0=BE=D1=82 Peter Nabbefeld <peter.nabbefeld@gmx.de= >:

=09
=09 =09

Hi,

I've got another problem: Code completion doesn't work at all at so= me
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=C2=A0 only as long a= s
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 > =C2=A0fully qualified name.
> For example, I have:
>
> String s =3D "This is my code";
> com.temp.foo.SuperFoo superFoo....
>
> When I used previous versions full qualified name was added to "i= mport
> section" and I had
>
> import com.temp.foo.SuperFoo;
> .....
> String s =3D "This is my code";
> SuperFoo superFoo....
>
> Could anyone say how to fix it?
>
> --
> Alex Sviridov

=20 =20 =09
=09


--
Alex Sviridov
--000000000000f5c8fc0577c7f070--