Details
-
Type:
Improvement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 2.5.2.Release
-
Fix Version/s: None
-
Component/s: Editor, Quick fix/assist
-
Labels:None
-
Number of attachments :
Description
A common operation in the java editor that would be useful in the groovy editor is "Create import statement on selection" which is bound to CTRL+SHIFT+M by default. This allows a user to import a static method by selecting it while issuing the key command.
Math.abs(1) // Press CTRL+SHIFT+M over abs
would then produce:
import static java.lang.Math.abs ... abs(1)