KDevelop and Java
Milian Wolff
mail at milianw.de
Mon Mar 12 12:35:19 UTC 2012
On Saturday 10 March 2012 12:41:32 Detlev Casanova wrote:
> On Thursday 08 March 2012 12:28:15 Milian Wolff wrote:
> > On Thursday 08 March 2012 10:25:22 Detlev Casanova wrote:
> > > On Wednesday 07 March 2012 16:11:38 Aleix Pol wrote:
> > > > On Wed, Mar 7, 2012 at 3:33 PM, Detlev Casanova
> > > >
> > > > <detlev.casanova at gmail.com> wrote:
> > > > > Hello !
> > > > > I'd like to know what's the status of the Java plugin for KDevelop.
> > > > > After
> > > > > having a look on the git repository, it seems that it's been a while
> > > > > since
> > > > > the last commit.
> > > > >
> > > > > Is it unmaintained ?
> > > > > Has it become not interresting anymore ?
> > > > >
> > > > > Would you like to see it back on tracks or are there other
> > > > > priorities
> > > > > ?
> > > > >
> > > > > Detlev Casanova.
> > > > >
> > > > > --
> > > > > KDevelop-devel mailing list
> > > > > KDevelop-devel at kdevelop.org
> > > > > https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel
> > > >
> > > > Script Kiddy doesn't count as maintaining. :P
> > > >
> > > > The last time I looked (last summer) the Java language support was not
> > > > that bad, it has to be ported to new Kate ranges interface, because
> > > > the one we used to have was deprecated some time ago.
> > > >
> > > > Short answer: needs work, but not a huge amount of work.
> > >
> > > I'll try to make it compile with the new range interface, then make sure
> > > it
> > > works and see if it can be used properly with new versions of kdevelop.
> > >
> > > Do people on this mailing list and on #kdevelop know about that new
> > > range
> > > interface ? In case I have questions :-)
> >
> > Very nice.
> >
> > commit dcbeb493ea86547af81d5a90fa168cc152ab4efa in kdev-php might be
> > interesting, yet there can of course be follow-up commits that fix the odd
> > bug. I can of course assist you via email/irc if I have time. Just drop
> > the
> > mail to this mailing list.
>
> I hit reply to author last time, sorry.
>
> It now compiles and KDevelop loads it properly (I would say that kdev-php
> and kdev-java are based on each other, as the code is a comparable.)
>
> It still doesn't work properly and, for instance, doesn't find errors
> (System.out.printlnThatDoesNotExist("Hello world"); is not underlined, which
> it should be I suppose...)
Afaiks this never worked.
> I'll keep looking into ParseJob::run() which is the most probable place that
> makes it not working.
No, this should actually be done by the usebuilder.
> Also, autocompletion doesn't work but I haven't got there yet (except for
> porting)
It never worked for imports, only - barely - for file-local defined stuff.
> Also, I created a kdevelop template. Can the kdev-java plugin provide such
> templates when it is installed (for instance : CMake and Java) ?
Sure.
> Is there something like an Ant plugins yet ?
Not to my knowledge. You can write one based on the AbstractFileManagerPlugin,
it is (imo) quite straight forward. If you need help, just ask here.
> Finally, how do you prefer getting the code ? I committed it into my local
> git repo, in master. Mail ? Reviewboard ? Something else ?
You probably don't have a developer account yet, hence I'd like to see the
patch on reviewboard first. If it's multiple commits, just to get it
compiling, please squash the commits for review, but send them later on as
created by "git format-patch".
Thanks for taking care of this! Cheers
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20120312/7dd6dab8/attachment.sig>
More information about the KDevelop-devel
mailing list