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.
[ BUILD # : 200512051900 ] [ JDK VERSION : 1.5.0_02 ] Add the following actions to the Edit menu: - make upper case - make lower case - capitalize - invert case They can all be in one submenu, not to take too much space. Having them in menu will make it easier to find them and to check their shortcuts (assuming multikey shortcuts are being shown in the menu).
These issue is not implemented yet. Currently NetBeans has incorrect case switching behavior.
Ondro, have you guys considered adding these actions? Pros, cons, ideas? Thanks
Is there a real use-case for these actions? For invert case, I see it as something to be used for fixing the i-forgot-numlock-on-problem, but .. how often this happens and how much text is involved? Upper-case/lower-case can probably be used (although rarely) for conversion of larger amount of texts such as headers, etc .. but it is extremely infrequent use-case and IMO QuickSearch should be enough for discoverability of this action. For capitalize, I personally can't really imagine anyone using (=remembering) a shortcut instead of overwriting one single letter. Even if so, this action is available from the keymap panel and thus can be assigned a user-custom keybinding. To avoid UI clutter, closing as WONTFIX. Please re-open if you are aware of any significant use-cases I've missed.
(In reply to Ondrej Langr from comment #3) > Is there a real use-case for these actions? Yes, usually after copy-paste from a documentation. For example I copy a list of types (in sentence case), and I want to make them constants or enums, so I have the following options: - do it manually (lengthy and error prone) - lookup a shortcut in the keymap, remember it, go back to editor and use it (lengthy and annoying) - copy it to Notepad++, use TextFX, copy back to NetBeans - that's what I usually do Most people in my company don't even know that NetBeans supports any case actions, because they don't exist in any menu. > Upper-case/lower-case can probably be used (although rarely) Not rarely, believe me. > To avoid UI clutter, closing as WONTFIX. Really, a single submenu of useful editor actions is a clutter? > Please re-open if you are aware of any significant use-cases I've missed. Make enums from documentation, create JavaDoc for constants, create variable names in bulk, field names (in quotes or annotations), SQL queries. I can agree that invert case is not that important, but uppercase, lowercase and camelCase are.
Created attachment 153648 [details] TextFX case actions in Notepad++
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
It is still relevant.