PhpStorm 2019.1 Help


File | Settings | Languages and Frameworks | JavaScript | PhoneGap/Cordova for Windows and Linux
PhpStorm | Preferences | Languages and Frameworks | JavaScript | PhoneGap/Cordova for macOS
Ctrl+Alt+S the Settings button

Before you start, make sure the PhoneGap/Cordova repository plugin is installed as described in Managing plugins.



PhoneGap/Cordova Executable Path

In this field, specify the location of the executable file phonegap.cmd, cordova.cmd, or ionic.cml (see Installing PhoneGap/Cordova/Ionic).

PhoneGap/Cordova Version

This read-only field shows the installed PhoneGap/Cordova/Ionic version that PhpStorm detects automatically.

PhoneGap/Cordova Working Directory

In this field, specify the folder under which the PhoneGap/Cordova/Ionic application files to run are stored.

Automatically exclude 'platforms' directory on open project

Select this checkbox to have the platforms directory marked as excluded automatically when you open the project. As a result, PhpStorm ignores it during indexing, parsing, and code completion.


In this area, configure a list of plugins to use in your development by installing required packages. The list shows all the PhoneGap/Cordova/Ionic plugins that are currently installed on your computer, both at the global and at the project level.

  • To install a plugin, click Install. In the Available Packages dialog that opens, select the required package.

    To install the package globally, select the Options checkbox and type --global in the field. Click Install Package.

  • To remove a plugin, select it in the list and click the Uninstall button.

  • To upgrade a plugin to the latest available version, select the plugin in the list and click Upgrade.

See Apache Cordova Plugins and PhoneGap Plugins for information about plugins and their use.

Last modified: 26 July 2019

See Also