This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 137572 - smart list is different after space
Summary: smart list is different after space
Status: VERIFIED WORKSFORME
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: David Strupl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-18 14:43 UTC by Lark Fitzgerald
Modified: 2008-10-21 18:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
source (916 bytes, text/plain)
2008-06-18 14:45 UTC, Lark Fitzgerald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-06-18 14:43:53 UTC
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)
fx NB61 nighly plugin: 269

using the attached source.
1. In line "var str : String = new String();" place cursor after "new" and press ctrl+space - for instantiate tree.
you get a short list but there is no horizontal separator for smart source
2. place the cursor after the new, but before the String (so there is a space)
You get a list of types including String.

behavior should be the same.
Comment 1 Lark Fitzgerald 2008-06-18 14:45:13 UTC
Created attachment 62997 [details]
source
Comment 2 Anton Chechel 2008-10-20 12:14:06 UTC
code completion - David (it's is probably fixed already)
Comment 3 David Strupl 2008-10-20 13:48:15 UTC
I think this works as expected. If you place the cursor just after the new the new keyword is either put there from the
list or replaced by something else. If you place the cursor after the space and hit ctrl-space from there the list is
longer with proper selection of choices as far as I can tell.
Comment 4 Lark Fitzgerald 2008-10-21 18:52:58 UTC
Understood. closing.