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.
I use Netbeans Dev 20071115, trying to override a method with "Generate Override Methods" dialog (alt+ins ...) quick search in that dialog does work, so I search for needed function by entering several letters, then I press space to select this function, but quick search still accepts this space... As I know Java can not have spaces in function names, so it would be better to exit quick search and select this function if I press space. Now I have to press escape, because enter closes the window. For me this is EXTREMELY inconvenient! I accidentally close this window several times before getting the correct result.
Not a P2.
The dialog uses the standard explorer view, and the quick search in it cannot be customized, AFAIK. Or am I wrong?
No, quick search can't be customized this way and really support spaces in node names. At most, you might be able to provide a key listener that would intercept VK_SPACE and interpret it directly as checkbox select.
Well, we have a KeyListener that consumes space events - but there is no place to register it AFAIK. I do not think there is anything java/editor could do about this right now. So reassigning to openide/explorer.
Reassigning to new module owner Tomas Holy.
The quick search close itself on Enter (without consuming event) so I think simple solution is to intercept Enter in CheckTreeView$CheckListener.keyPressed() and toggle check box properly, e.g.: if ((e.getKeyCode() == KeyEvent.VK_ENTER) && (e.getSource() instanceof JTree == false)) { TreePath path = tree.getSelectionPath(); toggle(path); e.consume(); } Reassigning to java editor for consideration.
I will think about it, but it sounds more like a workaround anyway.
moving opened issues from TM <= 6.1 to TM=Dev
Fixed.
Integrated into 'main-golden', available in build *200808191401* on http://bits.netbeans.org/dev/nightly/ Changeset: http://hg.netbeans.org/main/rev/9fbc7d62b762 User: Jan Becicka <jbecicka@netbeans.org> Log: #122151: Quick search in functions accepts spaces
I can reproduced it again in 7.1
Regression caused by the Quick Search API introduction. Reassigning.
this is explorer api
or window system. I don't know. Simply org.openide.awt.QuickSearch
platform/quickseach has nothing to do with org.openide.awt.QuickSearch. This code is UI Utilities API module. Author is mentlicher.