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.
Convert lowercase and upper case IntelliJ IDEA?
Multiple ways are shown to Convert from upper or lower case vice-versa in Intelli IDEA editor.
using GUI(Graphical User Interface):
- Open Intelli IDEA
- Select the text you want to select or
Ctrl + Ato the selected complete file.
Find Actionsor use the below shortcut commands.
- Windows: hotkeys: Ctrl + Shift + A
- Mac: shortcuts: ⌘ + Shift + A
It opens the Find Actions WIndow and type
Toggle Case in the search box and select it as given below
Here is a screenshot
- 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
Upper and lower Case toggle shortcut commands
- Windows: hotkeys:
- Mac: shortcuts: