Create

Create a New Groovy Script Project

There are two ways to create a new Groovy Script Project.

In case of a freshly started client, a direct link helps you create the Snow Owl Groovy Script project.

Create Snow Owl Groovy Script Project with a Fresh Client

If projects have already been created, the direct link disappears.

In this case, the scripting project can be created via a Context Menu option. Right-click on the whitespace in the Project Explorer View to reveal the Context Menu.

Create Snow Owl Groovy Script Project from Context Menu

Once you named your project and hit Finish in the New Script Project Wizard, you are presented with the default content along with a set of examples.

Script Project in the Project Explorer View

Create a New Groovy Script File

To create a new script file in Snow Owl, right-click on the script project and select the New file... option from the Context Menu.

Create a New Groovy Script File

Enter a file name with a .groovy file extension (e.g. Tet-file.groovy), and click Finish.

Create New Script File

Once you hit Finish the new Groovy Editor opens automatically and you can start creating your script.

At any point during script authoring, the content assist can be invoked by hitting Ctrl + Space. When the content assist is invoked, users can pick from different selections that are valid depending on the current position of the cursor.

Content Assist in the Groovy Script Editor

Last updated