This post shows two examples of converting 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 uppercase IntelliJ IDEA?

Multiple ways are shown to Convert from upper or lower case and vice-versa in the Intelli IDEA editor.

using GUI(Graphical User Interface):

  • Open Intelli IDEA
  • Select the text you want to select or Ctrl + A to the selected complete file.
  • Select the Help Menu + Find Actions or use the below shortcut commands.
    • Windows: hotkeys: Ctrl + Shift + A
    • Mac: shortcuts: ⌘ + Shift + A

It opens the Find Actions WIndow types Toggle Case in the search box and selects it as given below.

Here is a screenshot

Sublime text Convert selected text to the upper or lower case

  • 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 a Shortcut to convert upper and lower case.

Upper and lower Case toggle shortcut commands:

  • Windows: hotkeys: Ctrl + Shift + U
  • Mac: shortcuts: + Shift + U