RubyMine 6.3.0 Web Help

Suppose you are referring a class or a method that has not yet been created. With RubyMine, you can easily stub out the missing symbol with the aid of the dedicated intention action.

To create a symbol from usage, follow these general steps
  1. Type the name that references a non-existent symbol. RubyMine highlights the reference.
  2. Press Alt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+EnterAlt+Enter, Shift+Alt+J or Ctrl+Shift+MAlt+EnterAlt EnterAlt EnterCommand 1Alt Enter, and choose the corresponding option from the suggestion list, for example Create class <class name>, or Add method <method name> to class <class name>

ruby_createFromUsage.png

See Also

Procedures:

Web Resources: