- In the Project view, right-click the package where you want to generate a GWT module. If you already have a GWT module, select any package outside the existing GWT module, to generate a new one.
- From the context menu, select .
- Specify the name for the module and directory where html and css files should be created, then click OK.
IntelliJ IDEA creates an xml GWT Module descriptor and generates the correct package layout:
- The client part with an entry point in it.
- The server part.
- A public folder with an html page and a css.

