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.
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
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.
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)
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.
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)