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 111200 - Disable the all symbols code completion
Summary: Disable the all symbols code completion
Status: VERIFIED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Samaresh Panda
URL:
Keywords:
Depends on:
Blocks: 138486
  Show dependency tree
 
Reported: 2007-07-27 09:23 UTC by Jiri Prox
Modified: 2008-08-01 21:15 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 Jiri Prox 2007-07-27 09:23:38 UTC
Product Version: NetBeans IDE Dev (Build 200707211200) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System:
Linux version 2.6.5-1.358 running on i386; UTF-8; ja_JP (nb) Userdir: /space/ui18n2

Disable the all symbols code completion (ctrl-alt-space or ctrl-space twice) in xml editor, it always returns No Suggestions
Comment 1 Samaresh Panda 2007-09-21 23:04:57 UTC
Code completion is enabled all the time and if the editor can provide CC, it'll do so with these key combinations.
Whether the editor can or cannot provide CC depends on the context (file, position, DTD based, Schema based etc. etc.).
Also at a given context there can be several CC providers.

IMO this is not a bug. Perhaps this issue can be reviewed by the CC infrastructure team.
Comment 2 Vitezslav Stejskal 2007-09-24 13:09:36 UTC
You can use CompletionResultSet.setHasAdditionalItems(false) to tell the infrastructure that there are no additional
items to ask for. The infra then won't show Ctlr-Space hint.

http://bits.netbeans.org/dev/javadoc/org-netbeans-modules-editor-completion/org/netbeans/spi/editor/completion/CompletionResultSet.html#setHasAdditionalItems(boolean)
Comment 3 Samaresh Panda 2008-06-27 00:37:38 UTC
There won't be no suggestion all the time. If there is suggestion while typing, it'll be shown, else no. However, it'll
show no suggestion if requested by user that is if user presses Ctrl+Space.

Fix integrated: http://hg.netbeans.org/main?cmd=changeset;node=d822324e23df.
Comment 4 tonybeckham 2008-08-01 21:15:02 UTC
Verified

Product Version: NetBeans IDE Dev (Build 200808010201)
Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119
System: Mac OS X version 10.5.4 running on i386; MacRoman; en_US (nb)