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 
><[email protected]>:
>
>
>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

Reply via email to