> I know content you provided.
> May be you misunderstood my meanings.
> Currently the click.xml is lack of Dtd declaration header, like the
> following.
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <!DOCTYPE click-app PUBLIC
> "-//Apache Software Foundation//DTD Click Configuration 2.1//EN"
> "
http://click.apache.org/dtds/click-2.1.dtd">
>
> <click-app>
> ....
> </click-app>
-1 for this.
There's no need to "bloat" the click.xml :).
It only takes one line code in most IDEs API (in custom plug-ins), to
enforce a specific DTD(or schema) upon a specific XML file.
> In the click.xml, providing a doctype declaration(the red section, it is
> just an example) is helpful for IDE. NetBeans IDE can use this
> declaration to determine if this file is a click configuration file and
> provide basic code completion automatically (extra code completion is
> provided by Code completion api , my plugin provide extra code
> completion for package, path and classname attribute value).
Yes, as IDE users, we are aware of this :), but please note that in most
projects, once created(mostly copied from other project) this click.xml
file is almost never changed, so concentrating the IDE features on it
won't gain any productivity boost :).
A previous Click committer created a very nice list of "efficient
features" (roadmap) for a possible NB plug-in (but it's general enough
for other IDEs).
I attached a PDF version of that list for you.
Adrian.