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 143349 - code completion ctrl+space toggle issue
Summary: code completion ctrl+space toggle issue
Status: REOPENED
Alias: None
Product: soa
Classification: Unclassified
Component: XSLT (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: _ alexpetrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-08 22:28 UTC by andyloh
Modified: 2008-11-20 23:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andyloh 2008-08-08 22:28:20 UTC
In the XSLT Source Editor, when the code completion suggestions list appears, I am under the impression (based on the
code completion wiki) that I should be able to use ctrl+space to toggle the list on and off.  However, if I use
ctrl+space, instead of dismissing the suggestions list, a highlighted "no suggestions" appears.  Using ctrl+space again
does not restore the suggestions list.
Comment 1 _ alexpetrov 2008-10-14 18:44:14 UTC
The following hot keys are used for a code completion box:
Ctrl+Space - to display,
Escape - to hide.

It's described in the book "Rich Client Programming. Plugging into the NetBeans Platform" (Tim Bodreau, Jaroslav Tulach,
Geertjan Wielenga; Sun Microsystems (C), Prentice Hall), Chapter 14 "Code Completion".
Comment 2 andyloh 2008-11-20 23:24:27 UTC
This is more of a usability issue than a bug.  Esc does work to close/dismiss/hide the code completion suggestions list.
 However, the problem is that Ctrl+Space, if used when the suggestions list is present, changes the list to a
highlighted "no suggestions".  At this point, Ctrl+Space does not restore the list unless Esc (or a click elsewhere and
then click to return) is used to dismiss the "no suggestions".  Is there a way to prevent this situation, perhaps by
preventing Ctrl+Space from dismissing/hiding the suggestions list?  Re-opening and reducing the priority to P4.