Keystroke / Shortcut to subclass a class

Hello,

I'm wondering if there is a keystroke or a shortcut to accelerate subclassing the class currently being edited (or a class that is selected in the project view). Does this exist?

thank you,
-Fred

3 comments
Comment actions Permalink

I'm wondering if there is a keystroke or a shortcut to accelerate
subclassing the class currently being edited (or a class that is
selected in the project view). Does this exist?


Try the Lineage plugin. It makes subclassing an intention.

Tobin





0
Comment actions Permalink

Hello Fred,

If you use IDEA Irida (the EAP version) you might try my "Lineage"
plugin. This plugin adds an intention to subclass any class or
interface. You can then position the caret on any non-final class or
interface reference or declaration and subclass it via alt+enter.
If you're using IDEA 4.5 or older, there isn't really a short cut. I
would just create a new class and add the extends clause manually. But
if you're interested in the Lineage plugin for 4.5, I might be persuaded
to port it.

Bas

Fred Faber wrote:

Hello,

I'm wondering if there is a keystroke or a shortcut to accelerate
subclassing the class currently being edited (or a class that is
selected in the project view). Does this exist?

thank you, -Fred

0
Comment actions Permalink

Thanks guys, I am using build #3193 so Lineage sounds like a potential solution. I'll give it a try.

-Fred

0

Please sign in to leave a comment.