RubyMine 7.0.1 Web Help

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+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 ⌘ UShift ⌘ UShift ⌘ X or Shift ⌘ YShift ⌘ U.
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 Ctrl+Alt+U.

If you type a variable name using CamelCase, RubyMine detects deviation from naming conventions, and suggests to convert such name to snake_case:

ruby_toggleCamelToSnake.png

See Also

Getting Started:

Web Resources: