- Select text fragment, or just place the caret at the line you want to change case in.
- On the main menu, choose , or press Ctrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+Shift+UCtrl+U, SCtrl+Shift+U, Ctrl+Shift+X or Ctrl+Shift+YCtrl+G, Ctrl+U or Ctrl+Shift+UMeta Shift UMeta Shift UMeta Shift X or Meta Shift YMeta Shift U.
- Select text fragment you want to change case in.
- On the main menu, choose , or press Ctrl+Alt+U.
Tip
If you type a variable name using CamelCase, RubyMine detects deviation from naming conventions, and suggests to convert such name to snake_case:

