for Windows and Linux
Use this page to check the automatic configuration of PhoneGap and Cordova frameworks and update the configuration manually, when necessary.
If you followed the standard installation procedure fro the frameworks and the related packages, in most cases WebStorm detects the paths to the packages and executable files.
Learn more from PhoneGap and Cordova.
Configure PhoneGap or Cordova in an empty project
In the Cordova executable field, check the location of the executable file or specify the path to it if WebStorm has not detected the executable automatically. This can be phonegap, phonegap.cmd, cordova or cordova.cmd, depending on your operating system and the selected framework.
WebStorm detects the installed version and displays it in the Cordova version read-only field.
In the Cordova working directory field, specify the folder where the application files to run are stored.
By default, WebStorm automatically treats the platforms or www directory as excluded and ignores it during indexing, parsing, and code completion, see Configuring folders in a content root.
To preserve this default behavior, make sure the Automatically exclude working directories ('platforms', 'www' for ionic) checkbox is selected.
In the Plugins area, configure a list of plugins to use in your development by installing required packages. The list shows all the PhoneGap and Cordova plugins that are currently installed on your computer, both at the global and at the project level.
To install a plugin, click . In the Available Packages dialog that opens, select the required package.
To install the package globally, select the Options checkbox and type
--globalin the field. Click Install Package.
To remove a plugin, select it in the list and click .
To upgrade a plugin to the latest available version, select the plugin in the list and click .