I am struggling with compiling Vavr in Eclipse. I can compile with Maven on the command line, and can also import the existing Maven projects into Eclipse (Oxygen). But compilation gives me ca. 85 errors and hangs somewhere when compiling collections. I guess this has to do with wrong or missing settings for code generation (Scala) and/or annotation processing. Is there a simple way to create a working Eclipse project?
I started developing Vavr in Eclipse and tested it once with Mars (and also Neon I think). Eclipse always had false-positive type errors that needed workarounds and a very slow type inference that sometimes hung. I created several issues on the Eclipse bug tracker before I completely to IntelliJ IDEA. I do not use Eclipse anymore.
It is perfectly possible to run projects in Eclipse that depend on Vavr. But compiling Vavr itself in Eclipse is a challenge. I hope there is someone else who can provide some useful information...
Thank you. I will try IntelliJ then.
Hello @smillies, if you still be interested on Eclipse, actually I'm still developing with Eclipse Java EE IDE for Web Developers, version: Oxygen.3 Release (4.7.3) in the same way you described and still don't have problems (try to check you Eclipse version if it's the same of mine, if this could help you)
@smillies vavr compiles under Eclipse since https://github.com/vavr-io/vavr/pull/2224 and the IDE has a decent performance working with vavr since Eclipse JDT: Slow compilation in project with many wildcards generics
I think this issue can be closed.
Well, actually, vavr-benchmark doesn't compile yet under Eclipse, but I'll provide a fix shortly.

PR for the fix: https://github.com/vavr-io/vavr/pull/2244

You can develop vavr in eclipse now.
Thank you all!
Most helpful comment
Thank you. I will try IntelliJ then.