IntelliJ IDEA 2017.1 Help

Creating and Importing Joomla! Projects

This feature is supported in the Ultimate edition only.

In this section:

Creating a IntelliJ IDEA project with Joomla! Intergation support

You can create a IntelliJ IDEA project that will be set up and configured in accordance with the Joomla! requirements. This is done by creating a project by a Joomla! Integration template.

  1. Choose File | New | Project on the main menu or click the Create New Project button on the Welcome screen. The Project Category and Options dialog opens.
  2. In the left-hand pane, choose PHP from the list, then choose Joomla! Integration in the right-hand pane, and then click Next.
  3. On the second page of the wizard, specify the project name and the folder where it will be created and provide the following Joomla!-specific information:
    1. Specify the root folder of the Joomla! installation in the Joomla! installation path. Type the path manually or click the Browse button /help/img/idea/2017.1/browseButton.png and select the relevant folder in the dialog box that opens.
    2. Select the desired Joomla! project type (component, module, or plugin).

Importing a Joomla! project

Besides creating a project anew according to the Joomla! template, you can open an existing Joomla! project in IntelliJ IDEA. IntelliJ IDEA recognizes the Joomla!-specific structure and suggests activating the Joomla! support in project.

  1. Open the folder with the required Joomla! project by choosing File | Open Directory.
  2. As soon as IntelliJ IDEA detects the Joomla!-specific structure in the project, the following message is displayed in a pop-up window:
    Click the Enable link.
  3. In a message about the detected PSR roots, choose to configure the roots automatically.
  4. In a message about DocBlock templates, click the link Install.

Note the following:

  • You can update integration settings at any time later in the File | Settings for Windows and Linux or IntelliJ IDEA | Preferences for macOS.
  • When using the Joomla! Support pop-up:
    • If you prefer NOT enabling Joomla! support, just ignore the pop-up, and it will vanish.
    • The decision "Do not ask again" is project-wide.
    • You can always enable Joomla! support as described in the section Configuring Joomla! Support.

See Also


Last modified: 18 July 2017