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.
Summary: | Make the Find in Files dialog less context-dependent | ||
---|---|---|---|
Product: | utilities | Reporter: | Petr Jiricka <pjiricka> |
Component: | Search | Assignee: | issues@utilities <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | UI |
Priority: | P3 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 35255 |
Description
Petr Jiricka
2003-08-04 13:52:17 UTC
Accepted. *** Issue 70371 has been marked as a duplicate of this issue. *** From bug report #35257, it seems that some users might not know about context-dependent Find... and only use Find in Projects for searching across multiple files. Fixing this issue would help those users. I suggest that there would be only one action for searching across multiple files. When invoked, a dialog would appear and the dialog would allow to choose: - search all open projects - search the current project - search selected packages | Select... | A shortcut for the action would NOT be Ctrl-F so that it could be invoked even from the text editor. It could be the current shortcut for action Find in Projects (Ctrl-Shift-P). This is now mostly addressed in NB 6, so I am marking this as fixed. The only remaining subissue is the fact that the shortcut for Find in File is the same as the shortcut for Find in Files, which is not really a problem. Thanks! The shortcut Ctrl-F is still context dependent, i.e. it does "find in file" if the document window (editor) is active and it does "find in files" in other cases. There is also another shortcut Ctrl-Shift-F which should always invoke "find in files". The remaining sub-issue is that this shortcut currently clashes with action "Reformat Code" so that it does not work if the editor is active. The reason is that action "Reformat Code" should have a different shortcut according to the updated keymap specification. Action "find in files" behaves slightly differently, depending on whether it was invoked from action "Find... (Ctrl-F)" or from "Find in Projects... (Ctrl-Shift-F). If invoked from "Find...", search scope "Selection" is pre-selected in the Find dialogue. If invoked from "Find in Projects...", search scope "Open Projects" is pre-selected. |