New Project: Drupal Module
The right-hand pane of the Project Category and Options dialog looks as follows when you choose PHP in the left-hand pane and then choose Drupal Module from the list in the right-hand pane.
Use this dialog to generate and set up a module stub in compliance with the Drupal requirements.
The feature is supported only in the Ultimate edition when the Drupal Support plugin is installed and enabled. The plugin is not bundled with IntelliJ IDEA, but it can be installed from the JetBrains plugin repository as described in Managing plugins.
In this field, specify the root folder of the installation.
Set up PHP | Include paths
Path to JConfig
In this field, provide the path to the Joomla's configuration.php created during Joomla! installation.