Open class source code
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Open class source code
Does text pad provide any way to automatically open a class's source by clicking in a file where that class is used. This is a common feature in many IDEs.
There are a few different things you could be referring to:
1. Decompiling .class files from the byte code. You'd need a decompiler such as Mocha, or Decafe to accomplish that.
2. A list of classes in one pane of the window, where you can double-click on one of them to reveal in another pane the source code for that class. That can be replicated in TextPad by choosing:
View --> Document Selector
...and making sure it's selected. Double clicking on any of the open files will reveal their contents.
3. You'd want to be able to jump from within one class's source code, from a spot that refers to another class, by clicking on the second class and having the source for that second class pop up. You can't do that in TextPad, though I can't really see why you'd need to. It's a bell/whistle.
1. Decompiling .class files from the byte code. You'd need a decompiler such as Mocha, or Decafe to accomplish that.
2. A list of classes in one pane of the window, where you can double-click on one of them to reveal in another pane the source code for that class. That can be replicated in TextPad by choosing:
View --> Document Selector
...and making sure it's selected. Double clicking on any of the open files will reveal their contents.
3. You'd want to be able to jump from within one class's source code, from a spot that refers to another class, by clicking on the second class and having the source for that second class pop up. You can't do that in TextPad, though I can't really see why you'd need to. It's a bell/whistle.
I think you are looking for something like my ctags add-on.
It is available at http://home.hetnet.nl/~fesevur
It is available at http://home.hetnet.nl/~fesevur