Generate class and methods?

Hello, I am a long-time ReSharper user, and one of the things I'm surprised to not find in RubyMine is the ability to generate classes and methods that do not exist yet.  Doing BDD w/ RSpec, I will typically reference classes that do not exist and would love to be able to move the cursor to the undefined symbol, hit a hot key, and tell RubyMine to generate a new class.  I would like to do the same thing with methods that do not exist on classes.  Am I missing something? Does this already exist?

Mike

2 comments
Comment actions Permalink

Hello Mike,

Hello, I am a long-time ReSharper user, and one of the things I'm
surprised to not find in RubyMine is the ability to generate classes
and methods that do not exist yet.  Doing BDD w/ RSpec, I will
typically reference classes that do not exist and would love to be
able to move the cursor to the undefined symbol, hit a hot key, and
tell RubyMine to generate a new class.  I would like to do the same
thing with methods that do not exist on classes.  Am I missing
something? Does this already exist?


Generating methods from usage is implemented in RubyMine 2.0 beta. Generating
classes from usage is not yet supported, but will be supported in a future
version.

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.