Okay, we have setup SpringSource Tool Suite (STS) for Groovy and Grails support, but how do we create new domain classes or controllers? Once we have created a Grails project we can press Ctrl+G (in Windows) in our editor and a little popup shows where we can type Grails commands. We get code completion for the commands we can type so it easy to execute them.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDvFSZbF8HmQiK16ufBWhRB40ISyCr8_bjayI_0IppbK9EXNoMrElqHJgS9v81CBhx5GwcxP72TpXKhDZ1Jt3EWu9H__bOwgoV__bEH-XgH9pJwSRvxFQ2oByTdgGtWnfSIKYHc6ObIqtg/s320/sts-grails1.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwqFiGPsx1IU_mwL1m8FwOFRdepz7i7VLcmX-gDVd27DpNcUgKwIZma1frIYpfVn4HZs4Sc_CPS009roQMFNfop0mR4V6hnDklygrIjFNDcKwGlDkZcNl3966cXug4acLG25O6P0YvZlIt/s320/sts-grails2.png)
The output of the commands is shown in the Output window.
On the Grails website there is now also an article on Groovy and Grails STS Integration.