for example
String uuid; String name; to String Uuid; String Name;
(This is just an example, the above code may not be the correct convention)
How do convert selected text to upper and lower case in IntelliJ IDEA with GUI command palette or shortcut commands in Windows, Linux, and macOS. This post shows two examples to convert the text to upper case and lower case in an IntelliJ IDEA. The first way is using GUI and the second way uses the shortcut command in Windows and macOS.
IntelliJ IDEA provides several possibilities to learn shortcuts: Find Action is the most important command that enables you to search for commands and settings across all menus and tools. Press Ctrl+Shift+A and start typing to get a list of suggested actions.
If we remember just one IntelliJ IDEA shortcut, then it must be Help – Find Action, which is Ctrl + Shift + A in Windows and Shift + Cmd + A in macOS. This shortcut opens a search window with all menu items and other IDE actions, whether they have a keyboard shortcut or not.
It opens the Find Actions WIndow and types Toggle Case in the search box and selects it as given below. Toggle Case: Convert existing upper case text to lower case, and if the string is lower case, It is converted to upper case. Another way using Short cut to convert upper and lower case.
You can try the String Manipulation third-party plug-in.
Provides actions for text manipulation:
- Toggle style (camelCase, hyphen-lowercase, HYPHEN-UPPERCASE, snake_case, SCREAMING_SNAKE_CASE, dot.case, words lowercase, Words Capitalized, PascalCase)
- To SCREAMING_SNAKE_CASE (or to camelCase)
- To snake_case (or to camelCase)
- To dot.case (or to camelCase)
- To hyphen-case (or to camelCase)
- To hyphen-case (or to snake_case)
- To camelCase (or to words)
- To PascalCase (or to camelCase)
- Capitalize selected text
if you want to do that without third-party plug-in you can just select the first letter and press
Ctrl + Shift + U
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With