Hi,

I'd like to add a comment and a suggestion to the xref discussion:

Paul Kinnucan <[EMAIL PROTECTED]> writes:

> In my ideal world, no setup would be required. If you did nothing, the
> JDEE would xref the code in the current package (or perhaps prompt you
> to enter a list of packages with the default being the current
> package) and store the result in the root of the project directory
> (i.e., where the prj.el file is stored). Further, you would not need
> to specify a classpath in addition to jde-global-classpath. The JDEE
> would be smart enough to process only those portions of
> jde-global-classpath where the packages that you specify live.
>
> Further, you would not even need to build the xref db. If there
> is no xref db in the db directory, the JDEE would build it the
> first time you executed jde-xref-first-caller.

Sounds good to me!

Paul Kinnucan <[EMAIL PROTECTED]> writes:

> Also, I'd like to suggest renaming jde-xref-store-prefixes to
> jde-xref-packages as that more clearly indicates the variables
> purpose.

Andrew Hyatt writes:

> Let me think about this one.  The thing is, the variable doesn't
> contain package names, it contains package prefixes.   

Why not use regular expressions instead of prefixes?
This would be more flexible than prefixes
and it could lead to a clearer name. 
If applied only to the package part of a classname,
a name like jde-xref-included-packages
(name and purpose similar to jde-import-excluded-packages)
would be possible.

Martin

Reply via email to