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 140765 - [65cat] Groovy imports not used when script dragged into editor
Summary: [65cat] Groovy imports not used when script dragged into editor
Status: RESOLVED INCOMPLETE
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker with 1 vote (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-18 15:31 UTC by dynamite
Modified: 2011-12-06 09:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2008-07-18 15:31:53 UTC
[ 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.
Comment 1 Martin Janicek 2011-12-06 09:20:56 UTC
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.