RubyMine 2017.2 Help

Toggling Case

Toggling between upper and lower cases

To toggle between upper case and lower case

  1. Select text fragment, or just place the caret at the line you want to change case in.
  2. On the main menu, choose Edit | Toggle Case, or press Ctrl+Shift+U.

Toggling between CamelCase and snake_case

To toggle between CamelCase and snake_case

  1. Select text fragment you want to change case in.
  2. On the main menu, choose Edit | Toggle Camel/Snake Case, or press Shift+Alt+U.

Tips and tricks

Did you know that

  • Applying Toggle Case to CamelCase name format converts the name format to lower case?
  • The lowercase names are converted to the uppercase format?
  • Applying Toggle Case to the uppercase name format converts the name format to lower case?
Last modified: 26 October 2017

See Also