Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
The Grape/Grab feature is one of the most useful features in Groovy. However, figuring out what modules, groups and versions to use in a script can be daunting. To make this easier on the user, I propose that a simple action be implemented which shows the available modules.
The user would right-click inside the script they are writing and select a "Insert Grape" menu item.
A dialog box would appear displaying either the locally available modules, or a combination of local and remote modules.
The user would select the modules that they want to insert, and the action would insert the appropriate @Grab annotation into the script for each of the selected modules.