This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 227063

Summary: No hint or way to implement interface
Product: groovy Reporter: _ wadechandler <wadechandler>
Component: EditorAssignee: Martin Janicek <mjanicek>
Status: RESOLVED FIXED    
Severity: normal CC: wadechandler
Priority: P2    
Version: 7.3   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description _ wadechandler 2013-03-05 22:06:32 UTC
I have a project. I have a dependency with interfaces which I depend and must implement. The Java infrastructure tells me I must implement the methods and gives me hints that allows me to quickly do that. In the groovy editor, I see no errors, and I do not have any hint to implement the interface methods. I do have gradle support installed, so this isn't a *clean* install per se, so I will try that out. But, at this point, the Java infra is working, and Groovy is not, so I'm assuming this isn't working in 7.3.
Comment 1 _ wadechandler 2013-03-05 22:15:09 UTC
The project is a Maven project btw. I will try to put together some example I can share.
Comment 2 Martin Janicek 2013-03-06 08:30:17 UTC
This is actually an enhancement more than a defect. I will let it as it is for now to have it more in the eyes.
Comment 3 Martin Janicek 2013-04-24 13:37:09 UTC
One part of the issue fixed in:

web-main #8a65920a0436
web-main #661c6d2404b4

..now there is a hint similar to the Java one, creating method stub if the class doesn't implement all abstract methods from the parent.

One part of the issue still remains and that is why editor can't recognize this specific compilation problem and thus don't show error badge marking the line as invalid. Running groovyc from the command line obviously shows the problem, but using CompilationUnit.compile() do not see the problem. I need to spend more time on this..
Comment 4 Martin Janicek 2013-04-24 13:53:46 UTC
Closing this ticket as FIXED and creating another one (issue 228960) for the remaining problem (which is unrelated to the hint implementation).
Comment 5 Quality Engineering 2013-04-25 02:18:56 UTC
Integrated into 'main-golden', will be available in build *201304242301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/8a65920a0436
User: Martin Janicek <mjanicek@netbeans.org>
Log: #227063 - No hint or way to implement interface - part 1
Comment 6 pekarna 2013-06-04 04:20:50 UTC
I love to see improving Groovy support.