- Select text fragment, or just place the caret at the line you want to change case in.
- On the main menu, choose 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+UShift Command UShift Command UShift Command X or Shift Command YShift Command U. , or press
- Select text fragment you want to change case in.
- On the main menu, choose Ctrl+Alt+U. , or press
If you type a variable name using CamelCase, RubyMine detects deviation from naming conventions, and suggests to convert such name to snake_case: