WebStorm 2018.2 Help


File | Settings | Languages and Frameworks | JavaScript | PhoneGap/Cordova for Windows and Linux
WebStorm | Preferences | Languages and Frameworks | JavaScript | PhoneGap/Cordova for macOS
Ctrl+Alt+S icons general settings svg

Before you start, make sure the PhoneGap/Cordova repository plugin is installed and enabled 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 WebStorm 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, WebStorm 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 the Install button icons general add svg. In the Available Packages dialog box that opens, select the required package.

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

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

  • To upgrade a plugin to the latest available version, select the plugin in the list and click the Upgrade button icons actions previousOccurence svg.

See Apache Cordova Plugins and PhoneGap Plugins for information about plugins and their use.
Last modified: 19 November 2018

See Also