Last updated by
2 years ago
Page: STS 2.6.0 New and Noteworthy, Version:6
STS 2.6.0: New and NoteworthySTS 2.6.0 includes Groovy 2.1.2. The new and noteworthy for the groovy tools is here (+).
{center}
{center}
{center}
If the user declines to upgrade the project, then the project configuration will be changed to explicitly use the non-default install.GSP SupportNavigation to GSP definition - STS-1408
Pressing F3 or CTRL-Click on a GSP tag will now open the tag's definition. This will work for built-in tags as well as custom tags.
Content assist for g:def defined variables - STS-1491
After using the g:def tag to define a variable in your GSP file, this variable will now be available in scriptlets that are in the scope of the tag.
'New Groovy Server Page' wizard now accessible directly from Grails Explorer's 'new' context menu.
Code completion for autowired service fields - STS-1315
The types of Grails autowired services are now correctly inferred in the Groovy Editor. You can see an example of this in the screenshot below where the type of urlService is inferred to be UrlService, which is a service class in the same Grails project.
- There are no longer warnings produced in the grails project against source files coming from plugins.
- Overriding the plugin install location (grails.project.plugins.dir) in a Grails project will now correctly be reflected in any linked source folders created for plugins
- Support setting 'env' parameters for deploying Grails Apps on Tc server
{center}
- UI support for setting System properties passed to Grails Commands
{center}
- There is now a 'new Filters' menu entry alongside other Grails specific 'new wizard' menu items.
- grails-app/util is automatically added as a source folder to the classpath of new Grails projects.
- Assistance in reconfiguring projects after changing the default grails install
{center}
If the user declines to upgrade the project, then the project configuration will be changed to explicitly use the non-default install.GSP SupportNavigation to GSP definition - STS-1408
Pressing F3 or CTRL-Click on a GSP tag will now open the tag's definition. This will work for built-in tags as well as custom tags.
Content assist for g:def defined variables - STS-1491
After using the g:def tag to define a variable in your GSP file, this variable will now be available in scriptlets that are in the scope of the tag.
'New Groovy Server Page' wizard now accessible directly from Grails Explorer's 'new' context menu.
Code completion for autowired service fields - STS-1315
The types of Grails autowired services are now correctly inferred in the Groovy Editor. You can see an example of this in the screenshot below where the type of urlService is inferred to be UrlService, which is a service class in the same Grails project.