IntelliJ IDEA 2020.1 Help

GWT module

With IntelliJ IDEA, you do not need to remember the required GWT module structure because a GWT module will be generated along with the standard package layout. IntelliJ IDEA also enables code completion for you by adding the relevant GWT DOCTYPE to the xml descriptor of a new module automatically.

To generate a GWT module

  1. 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.

  2. From the context menu, select New | Google Web Toolkit | GWT Module.

  3. 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.

Last modified: 7 July 2020