Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: None
-
Fix Version/s: 2.5.0Release
-
Component/s: None
-
Labels:None
-
Environment:STS 2.6.0.2 on Fedora 13, Vaio F12
-
Number of attachments :
Description
In a new Groovy project when right-clicking a Groovy file, there is no Run as Groovy Script option (only Aspect/Java application). I have tried changing to all available perspectives (spring,java,javaEE,grails) to no avail.
In Grails projects right-clicking a groovy file gives Aspect/Java = 3 Grails specific run as options.
I seem to recall run as Groovy options existing pre-STS 2.5, what has changed, am I the only one affected here? My fingers are dearly sore testing in groovyConsole, no autocomplete, backspace in spaces instead of tabs (arggghh), etc.
How can I get run as Groovy options back in place for Groovy projects?? Everything else works fine in STS with Groovy, great autocomplete, syntax checking, etc.
Please save my aching fingers!!
What is the file that you are trying to run? Is the file a groovy script?
The Run As Groovy Script option only appears when the file is a true script (ie- no explicit main method and statements are defined outside of a class definition).