Well the second one, test/Hello.java, can be ambiguous if you have
more than one source directory each containing a file of the same
name. Also, not all project types have designated source directories
and some commands work with files outside of source directories, so
having the argument always be project relative makes it consistent and
unambiguous. Remember, eclim is not a java only tool :)
Supporting the absolute path, as in your third example, could probably
be done pretty easily, though I guess I'm slightly reluctant to
support that since it gives the impression that any absolute path can
be supplied there, when in fact the file at that path still must be
within the project. Allowing only a project relative path ensures that
only files found within that project can be referenced as arguments.
> > > still sort of wondering what java_checkstyle does...
> >
> >
http://eclim.org/vim/java/validate.html#checkstyle
> >
> > > I'm making my way through it, and i'm super grateful that the project
> > > exists and with the capabilities it provides... it's just.... my kingdom
> > > for good docs :P
> >
> > From the perspective of someone working on a new eclim client, I can
> > see how making the connection from a command name (java_checkstyle),
> > to the implementing class (...jdt.command.src.CheckstyleCommand), to
> > the user docs (
http://eclim.org/vim/java/validate.html#checkstyle) can
> > be annoying/difficult. Unfortunately all the time I've spent
> > documenting has been focused on user docs, which themselves suffer
> > from my single point of view.
> >
> >
> No worries at all at all. Documentation is the part most people despise
> with a passion and never get around too. I'm psyched to get what i get :P
>
>
>
> > Now that you've started digging into this, do you have any suggestions
> > on what sort of documentation would be most useful? It's not often
> > that someone writes a new eclim client, so I wouldn't want to write a
> > book on the subject, but outlining key information I'm sure would
> > help, and some of that info would probably overlap with info that an
> > eclim command contributor might need.
> >
> >
> I'm sort of making documentation for myself as i go along: I attached my
> entry for java_complete so you can see what i'm doing.
It would be nice to having something like that in the javadocs for
each command and possibly extract that info using some javadoc
doclets to build a separate reference by command name. I'll add a note
to my todo list to look into that if I can find the time.
> FWIW i am (slowly) building a node.js eclim client to back a codemirror
> java editor. Not with any large ambitions, just so i can VPN into my house
> and code on my tablet from the coffeeshop down the street.
Sounds like a cool project. If you haven't already, you should
consider throwing it up on github or similar. Other people may find it
useful and you never know when someone will come along and run with
it.
> > an email to
eclim-dev+...@googlegroups.com <javascript:>.
> > > To post to this group, send email to
ecli...@googlegroups.com<javascript:>.
--
eric