I have posted a beta of release 2.1.6 of the JDE on the JDE
website.
http://sunsite.auc.dk/jde/
The beta introduces a Java parser and a new version of the JDE's class
import wizard and fixes a few bugs. See release notes below for details.
This release also includes the jtags scripts which were inadvertently
omitted from the previous release. I'm not sure these scripts are needed
anymore as the latest version of etags works with Java source.
I'd be interested in suggestions for features based on the Java parser. For
instance, one use might be for on-the-fly syntax checking of statements
where everytime you type a semicolon the JDE checks to make sure the
statement just
entered is syntactically correct. (Such a feature could of course be turned
off.)
- Paul
JDE 2.1.6beta1 Release Notes
This releases incorporates the following changes:
New Features
============
* Java parser
The JDE now comes with its own Java parser implemented in Java. You can
invoke
the parser from the BeanShell or via the jde-parse command (see next). The
parser was generated by JavaCC and the Java Tree Builder. The source for
the parser and the grammar from which it was generated are in the JDE's
java directory.
* jde-parse command
Checks the current buffer for syntax errors, using the JDE's Java parser.
* jde-wiz-find-and-import command
Generates an import statement for a class in the current buffer. Unlike
jde-wiz-import, which requires a fully qualified class name, this new
command does not require the class name to be qualified. Indeed, it
should not be qualified. The command searches the classpath for the
name you enter (by default the name at point) and imports any classes
by that name that it finds. (A future version will let you choose which
class to import.) This command uses the BeanShell and a new JDE Java class,
jde.wizards.ImportWizard. Thanks to Len Trigg <[EMAIL PROTECTED]>
for implementing this class.
* C-c C-v C-z is now bound to jde-wiz-find-and-import instead of
jde-wiz-import
If you prefer the old command, you can customize the keybinding in your
.emacs
or prj.el files.
* The make version of jde-build now allows interactive entry of make
arguments.
Thanks to Yarek J. Kowalik <[EMAIL PROTECTED]> for providing this enhancement.
Bug Fixes
=========
* Changed jde-run-parse-args to accept any substring enclosed in single or
double
quotes or that does not contain white space as an arg. Thanks
to Changzhou Wang <[EMAIL PROTECTED]>.
* Added missing java-font-lock-keywords-3 for XEmacs. Thanks to
Stephane <[EMAIL PROTECTED]> for spotting this bug.