Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: None
-
Component/s: Groovy Console
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
As a Groovy Console user I would like to improve execution of selected text, so that all imports of script were automatically applied to selected text.
So user will be eable to execute part of script without being forced to copy-paste import section. That would make running of a part of script much easier.
Also I think Imports from selected text should have higher priority than imports from script.
Attached patch implements changes that are required for this improvement.
Any comments are welcome!
Some fixes in suggested patch.
Now unresolved imports from surrounding script are silently ignored.
Also unit-test class was moved to src/test folder.