You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Uwe Pachler <uw...@gmail.com> on 2019/01/26 19:07:01 UTC

Manifold support

Hi there,

I'm currently trying Manifold (http://manifold.systems) and I'm wondering
about support for it in NetBeans. Manifold is in some ways similar to
Lombok, in that it generates additional code while javac is running (but it
is a javac plugin rather than an annotation processor).
However, when trying it in NB 10 with the Manifold Maven sample project
project and Java 11, Netbeans won't see Manifold-generated types and
methods, highlighting code spots referencing them as errors.

Because Lombok used to work out of the box, I assumed this may be the case
with Manifold as well (obviously it is not). I'd guess NB would just need
to read the maven compiler plugin settings from the POM, compile with that
and inspect whatever .class files were produced - but maybe it doesn't work
like that...

So I'm wondering:
* Has anyone tried this before, and even had success?
* If NB can't support it now, is support planned? Any ideas what would be
necessary?

Cheers,
Uwe