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
Please sign in to leave a comment.
Guy Gascoigne-Piggford wrote:
Try the Lineage plugin in the Plugin Manager :
http://www.intellij.org/twiki/bin/view/Main/LineagePlugin
N.
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:
It will be somewhere here in Demetra. But now it is not so convenient.
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:
>> 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
Thanks, downloading it now. From the wiki it looks like it does just
what I want.
Guy
Nathan Brown 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