Last updated by 3 years ago
Page: STS FAQ, Version:3
This FAQ answers common questions about the Groovy and Grails support in the SpringSource Tool Suite (STS), and is up to date as of the 2.5.2 release of STS.What is STS? STS is an Eclipse-based IDE that provides a solid development environment for building Spring and Grails-powered enterprise applications.How do I install the groovy and grails support? In this release of STS, both the Groovy and Grails support must be installed through the extensions mechanism. To find the extensions, open the STS Dashboard then click the 'extensions' tab at the bottom of the dashboard window. For detailed instructions about how to do this (including screenshots), see: STS Integration. (You will need to be online for this the install to work.)Why do I see 2 Grails icons on the extensions page and do I need to install both of them? What about Groovy support? The first icon corresponds to the Grails runtime, which is optional. The second corresponds to the Grails tool support inside of STS. Groovy tool support is required as well because it is a prerequisite for Grails tool support.You do not need to install a Grails runtime if you already have one on your hard drive. However in this case, you must manually configure your Grails runtime by going to Preferences -> Groovy -> Grails in your running STS.What versions of Grails does STS support? STS provides full support Grails versions 1.2.0+. Projects that use earlier versions of Grails can still be imported into the workspace, but they must be upgraded to use a more recent version of Grails.Where do I start with grails? For a basic description of how to create a new project or import an existing project into STS, also see: STS Integration. This also covers how to use the pop-up grails console to invoke grails commands.What does Groovy-Eclipse do for me? Groovy-Eclipse is a complete IDE for managing Groovy and Grails projects. It includes the standard Eclipse IDE features like content assist, searching, navigation, refactoring, debugging, and version control as well as Groovy-Specific features like type inferencing and support for scripts. The full list of features can be found at Groovy-Eclipse's prioject home pageWhat does the Grails tool support do for me? In addition to Groovy-Eclipse, STS's Grails tooling provides many useful features for developing Grails applications:
- A plugin manager to browse and install Grails plugins
- A command launcher
- Content assist, navigation, and type inferencing for Grails specific DSLs including dynamic finders
- An editor for GSPs
- Intuitive ways to launch Grails commands
- A Grails project view, specifically tailored towards Grails applications
- Enhanced debugging of Groovy applications, so that Eclipse's Display view and Expressions view can evaluate Groovy expressions.
- Ability to run Grails applications on tcServer, that provides enhanced diagnostics and allows you to analyze your Grails apps using Spring Insight.
-XmxNNsetting (e.g., 768 or 1024) in the JVM arguments sectionWhere do I raise a feature request or report an issue? Groovy-Eclipse and Grails tool support are separate projects and use separate issue trackers.Groovy related issues and features are handled on the codehaus Jira for the Groovy-Eclipse project, accessible here: http://jira.codehaus.org/browse/GRECLIPSEFor Grails-related issues, feature requests, and bugs, please use the STS Jira issuetracker.Before raising an issue, you may want to send a message to the Groovy-Eclipse mailing list, or post to the STS forum.What features are planned for the future? You can browse open Grails issues on the STS jira. And open Groovy-Eclipse issues can be browsed as well.Where can I ask questions about the groovy eclipse support? Feel free to ask at the STS forum or join the Groovy-Eclipse mailing list on codehaus.