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.
In XMl editor, I have problem when editing XML. In my case, I press Enter to align my code, then press Tab to indent it, and then "No suggestions" tooltip appears and blocks Tab key so I cannot indent more. If I want to indent that line more, I have to press Esc and then I can press Tab again. After this, "No suggestions" tooltip appears again and while moving the cursor using arrows it keeps being displayed till I press Esc again. This behavior is annoying. As a minimum, it would be good if Tab key would not be blocked if "No suggestions" tooltip is displayed. The other thing is that the XML file contains no DTD so I'm not sure there could be any suggestions at all.
We should try to fix this for 6.0.
Would you be able to attach the xml file? I do not see "No suggestion" after tab. I'm using Netbeans 6.0 in Windows Vista and JDK1.6.0_03. Have you changed any settings for XML editing?
Can't reproduce for current build on WinXP.
I can reproduce the problem of tab being disabled when "no suggestions" is displayed. System info: Product Version: NetBeans IDE Dev (Build 200801220251) Java: 1.5.0_13; Java HotSpot(TM) Client VM 1.5.0_13-119 System: Mac OS X version 10.5.1 running on i386; MacRoman; en_US (nb) To reproduce: 1. create a new xmlDocument 2. inside of the root tag type "<" ("No Suggestions" is displayed) 3. press backspace to delete "<" and the meesage is still there 4. try and use tab, you cannot until you escape the message
Reproducible on Linux as well. Product Version: NetBeans IDE Dev (Build 200801220251) Java: 1.6.0_04; Java HotSpot(TM) Client VM 10.0-b19 System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)
*** Issue 115917 has been marked as a duplicate of this issue. ***
*** Issue 118753 has been marked as a duplicate of this issue. ***
06-23-2008: test with a freshly made build. Seems to be working fine.
Actually I'm able to reproduce this, very hard to reproduce though. But once "no suggestion" appears, tab doesn't work.
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.
Fix Verified, works as described in the fix. Product Version: NetBeans IDE Dev (Build 200806270102) Java: 1.6.0_05; Java HotSpot(TM) 64-Bit Server VM 1.6.0_05-b13-52 System: Mac OS X version 10.5.3 running on x86_64; MacRoman; en_US (nb)