Much like what's in Visual Studio or Visual SlickEdit,
It would be nice to be able to go directly to a class
that contains a certain Method definition or to a
class itself. This concept is referred to as "Tagging"
in slickedit (http://slickedit.com/home.php).
So if I am in one source file and I see a method or
class that I would like to look at, all I would have
to do is right click on the method/class name and
select "go to definition" or something like that. Then
jext would open that file. I could be based off of
a "tag file" of some sort. This would essentially be a
database of the locations of the source files. So if a
user wants to go to a particular method/class, that
method/class would have to be defined in one of those
files in the database.
Also, the database should be able to be reconstructed
and added to, when new src files are created or a user
wants to add new src files that he/she has stored on
their filesystem.
Logged In: YES
user_id=644046
You could also support etags tag file format (the gnu
tool 'etags' generate a tag file for Emacs). Etags understand
the syntax of C, Objective C, C++, Java, Fortran, Pascal,
Cobol, LaTeX, Scheme, Emacs Lisp/Common Lisp,
Postscript, Erlang, Prolog and most assembler-like
syntaxes. Etags can also make tags based on regexp
matching.
Logged In: YES
user_id=563712
It's a good idea. It could be implemented as a plugin using
ctags(or etags-the etags uses another format and it's for
emacs), a unix but also for other platform program(see for a
good version ctags.sourceforge.net, which also can behave as
etags) which writes the database in a text form. It already
supports 28 programming languages, and I think it's the best
such program. Do you agree? However, since there is one
standard format(or better two, the ctags and etags one) the
thing to do would be writing (or porting to Jext from another
editor) a plugin for the format, which will support the syntax.
Logged In: YES
user_id=138659
ctags sounds good to me. Creating it as a plugin works for
me as well.
Logged In: YES
user_id=138659
I checked out ctags in jedit (www.jedit.org). Works great. I
think it is the way to go for this feature.