Open class source code

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
tnarvarte
Posts: 1
Joined: Thu Apr 10, 2003 7:14 pm

Open class source code

Post by tnarvarte »

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.
garrettj

Post by garrettj »

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.
Frank Fesevur

Post by Frank Fesevur »

I think you are looking for something like my ctags add-on.

It is available at http://home.hetnet.nl/~fesevur
Post Reply