RubyMine 5.4.3 Web Help

2.0+
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+UMeta Shift UMeta Shift UMeta Shift X or Meta Shift YMeta Shift 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.

Tip

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: