Why is there no extend class or implement interface option

Subject says it all really. Why is there no extend class or implement
interface option in the UI, I'd really like to click on an interface in
the tree and right click and hit implement rather than go to create a
new java file, type a name, then edit the source to add the interface
that I wanted in the first place. Same goes for extending a class.

Heck, even a extend from/implements drop down on the new class dialog
would be a nice saving.

Guy

5 comments

Guy Gascoigne-Piggford wrote:

Subject says it all really. Why is there no extend class or implement
interface option in the UI, I'd really like to click on an interface in
the tree and right click and hit implement rather than go to create a
new java file, type a name, then edit the source to add the interface
that I wanted in the first place. Same goes for extending a class.

Heck, even a extend from/implements drop down on the new class dialog
would be a nice saving.

Guy

Try the Lineage plugin in the Plugin Manager :
http://www.intellij.org/twiki/bin/view/Main/LineagePlugin

N.

0

Open the interface in the editor. Place the cursor at it's name
public interface MyInterface|
and hit alt-enter (or click on the ligh-bulb).

Guy Gascoigne-Piggford schrieb:

Subject says it all really. Why is there no extend class or implement
interface option in the UI, I'd really like to click on an interface in
the tree and right click and hit implement rather than go to create a
new java file, type a name, then edit the source to add the interface
that I wanted in the first place. Same goes for extending a class.

Heck, even a extend from/implements drop down on the new class dialog
would be a nice saving.

Guy

0

It will be somewhere here in Demetra. But now it is not so convenient.

0

Cool, I'd not noticed that one before, and it looks like the lineage
plugin does the same sort of thing for classes.

Thanks for the tip.

Guy

Sven Steiniger wrote:

Open the interface in the editor. Place the cursor at it's name
public interface MyInterface|
and hit alt-enter (or click on the ligh-bulb).

Guy Gascoigne-Piggford schrieb:

>> Subject says it all really. Why is there no extend class or implement
>> interface option in the UI, I'd really like to click on an interface in
>> the tree and right click and hit implement rather than go to create a
>> new java file, type a name, then edit the source to add the interface
>> that I wanted in the first place. Same goes for extending a class.
>>
>> Heck, even a extend from/implements drop down on the new class dialog
>> would be a nice saving.
>>
>> Guy

0

Thanks, downloading it now. From the wiki it looks like it does just
what I want.

Guy

Nathan Brown wrote:

Guy Gascoigne-Piggford wrote:

>> Subject says it all really. Why is there no extend class or implement
>> interface option in the UI, I'd really like to click on an interface in
>> the tree and right click and hit implement rather than go to create a
>> new java file, type a name, then edit the source to add the interface
>> that I wanted in the first place. Same goes for extending a class.
>>
>> Heck, even a extend from/implements drop down on the new class dialog
>> would be a nice saving.
>>
>> Guy


Try the Lineage plugin in the Plugin Manager :
http://www.intellij.org/twiki/bin/view/Main/LineagePlugin

N.

0

Please sign in to leave a comment.