To toggle between upper case and lower case
- Select text fragment, or just place the caret at the line you want to change case in.
- On the main menu, choose Edit | Toggle Case , or press Ctrl+Shift+U.
To toggle between camelcase and snake_case
- Select text fragment you want to change case in.
- 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:
Last modified: 24 January 2015