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: | Ctrl-R to invoke ActionProvider.COMMAND_RENAME when context is a Project | ||
---|---|---|---|
Product: | editor | Reporter: | _ gtzabari <gtzabari> |
Component: | Refactoring | Assignee: | Jan Becicka <jbecicka> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | jglick |
Priority: | P3 | Keywords: | USABILITY |
Version: | 7.1.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 211573 |
Description
_ gtzabari
2012-04-20 15:56:23 UTC
Ctrl-R is for Refactor > Rename, dealing with source code. Project renames are not associated with this system at all. Jesse, I understand what it is currently bound to. This enhancement request is for making the keyboard shortcut context-sensitive. Meaning, when source-code is focused use source-code refactoring, when a project is selected use project refactoring. I think implementing this feature would enhance usability. There is also the precedence of CTRL+F in the editor searching a single file whereas CTRL+F on a project searching the entire project. Please consider reopening the issue. ActionsImplementationFactory.doRename could check for a Project instance. Could perhaps also be implemented by a ActionsImplementationProvider; not clear to me whether that would best live in refactoring.api or projectui. (The former would avoid a new dep.) Same, perhaps, for "copy" and "move" actions. "Delete" is a little uncomfortable since this is labeled "Safely Delete" in the UI, which is not exactly appropriate for COMMAND_DELETE which generally makes no attempt to check for inbound references. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss Still an issue in dev build 201607060002. |