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.
[ BUILD # : 200807170007 ] [ JDK VERSION : 1.6.0_07 ] When a Groovy script is dragged into NetBeans from outside the editor it is correctly detected as a Groovy file, which is good. However, whilst Java import statements are detected, Groovy ones aren't (my script imports groovy.sql.Sql). Groovy scripts loaded into the editor from outside NetBeans should be able to recognize standard Groovy imports.
Hi, I'm not sure if I'm understanding this right. What do you mean by 'dragged' into Netbeans? Are you speaking about writing the code in some text editor and after that putting it to a Netbeans newly created file? Could you please attach mentioned script, so I'll be able to reproduce the issue?.. I'm closing as INCOMPLETE for now, but feel free to reopen it again together with additional information.