Refactor -> Rename Does't Work...

I'm sure there's something ultra-smart that IDEA 8.1.2 wants me to do that I'm not doing, but I'm trying to rename a class in IDEA.

Right now I right-click on the class in the Project view, select Refactor and get Move, Copy, and Safe Delete--as well as a bunch of other nifty options--but no Rename.

Anyone know what gives?

Thanks!

--Ian

4 comments
Comment actions Permalink

Put the selction in the class name in the source code where it appears immediately following the "class" or "interface" keyword.


Randall Schulz

0
Comment actions Permalink

Wierd, now I get an entry in the context menu, but nothing happens.  I mean, no discernible action whatsoever.  Hmm...

0
Comment actions Permalink

Upgrade your Scala plugin

Ian Coleman wrote:

Wierd, now I get an entry in the context menu, but nothing happens. I mean, no discernible action whatsoever. Hmm...

---
Original message URL: http://www.jetbrains.net/devnet/message/5239054#5239054



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Hello Ian,

I'm sure there's something ultra-smart that IDEA 8.1.2 wants me to do
that I'm not doing, but I'm trying to rename a class in IDEA.

Right now I right-click on the class in the Project view, select
Refactor and get Move, Copy, and Safe Delete--as well as a bunch of
other nifty options--but no Rename.

Anyone know what gives?


Make sure that the class is under a source root of your project.

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


0

Please sign in to leave a comment.