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 the 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.
- Select the
Find Actionsor use the below shortcut commands.
- Windows: hotkeys: Ctrl + Shift + A
- Mac: shortcuts: ⌘ + Shift + A
It opens the Find Actions WIndow and types
Toggle Case in the search box and selects 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 Shortcut to convert upper and lower case.
Upper and lower Case toggle shortcut commands
- Windows: hotkeys:
- Mac: shortcuts: