I’ve been trying out Netbeans 7 for its native groovy support, and one thing that seems to be a problem is automatically generated getters for boolean members using the isXXX syntax.
I have a groovy class
class MyClass {
boolean finished
}
From my Java code, I should be able to call either isFinished or getFinished as follows:
MyClass mc = new MyClass();
System.out.println(mc.isFinished());
System.out.println(mc.getFinished());
However, the groovy editor within netbeans tells me that mc.isFinished cannot be found (but it compiles fine in maven and eclipse). I’ve filed a bug with netbeans, but this seems like a major issue with the netbeans editor. Has anyone had this problem before and/or know if there is a way to work around it?
thanks,
Jeff
Last time I looked, the Groovy support in Netbeans was stuck at Groovy v1.6.4.
This is over 2 years old 🙁
I have heard rumours that it is set to improve in the future, but at the time of writing this, if you need a full IDE with current Groovy support, I would look at IntelliJ IDEA, the Groovy plugin for Eclipse, or STS