[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-users
Subject:    [ jEdit-users ] New plugin: ClassBrowser
From:       s g <shlomy1972 () 013 ! net>
Date:       2006-12-25 12:41:15
Message-ID: f851b28d5d01.458fe30b () 013 ! net
[Download RAW message or body]

Hi,

I've created a new plugin, named ClassBrowser, that enables you to browse Class \
hierarchies, based on information 'Ctags' tag files. The plugin shows a split pane, \
presenting the class hierarchy in the upper part and the members of the currently \
selected class (within the hierarchy) in the lower part. Double-clicking a member or \
a class jumps to the definition of that class/member (if possible).

You can download the new plugin here: http://community.jedit.org/?q=node/view/3382

The class hierarchy is presented as a tree. Two separate hierarchies can be \
displayed: The super (base) classes and the sub (derived) classes. You can toggle \
between the 2 hierarchies using buttons. The "joined" (i.e. complete) hierarchy, \
showing both the base and derived classes is not available due to multiple \
inheritance - it would have to be a graph rather than a tree.

To make the best use of this plugin, add the following options for 'Ctags' when you \
generate the tag files: --fields=+zKiS These options tell Ctags to generate \
inheritance information, function/method signatures and complete names for tag types.

This plugin uses the Tags plugin to provide it with the list of tag files and also to \
jump to selected tags. Hence, you must have Tags installed and configured. To use \
this plugin, put the .jar file in .jedit/jars in your home directory, then load it \
using the plugin manager, and invoke "Plugins -> Class Browser -> Show Class \
Hierarchy ..". The first time you invoke it in any jEdit session, it might take a \
little while because it prepares some internal index to make the queries a little bit \
faster, so it reads all the tag files (this may be fixed in future versions). It will \
then ask you for a class name (whose hierarchy you want to browse). Enter the class \
name, wait a little longer, and you will get the hierarchy in a "Class Hierarchy \
Browser" dockable.

Note that this is an alpha version, it does not have any documentation nor does it \
support all cases. The plugin is targeted to provide something similar to the Eclipse \
Java Class Hierarchy view; this is only the first version, but it is already useful.

Any feedback would be most welcome.

Shlomy

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-- 
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic