WebStorm 2017.3 Help

PhoneGap/Cordova

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 /help/img/idea/2017.3/settings.png


The page is available when the PhoneGap/Cordova plugin is enabled. The plugin is activated by default. If the plugin is disabled, enable it on the Plugins page as described in Enabling and Disabling Plugins.

ItemDescription
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.
Plugins 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 /help/img/idea/2017.3/new.png. In the Available Packages dialog box that opens, select the required package.

    To have the plugin installed globally so it is accessible from all your WebStorm projects, 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 /help/img/idea/2017.3/delete.png.
  • To upgrade a plugin to the latest available version, select the plugin in the list and click the Upgrade button /help/img/idea/2017.3/arrowUp.png.
See Apache Cordova Plugins and PhoneGap Plugins for information about plugins and their use.

See Also

Last modified: 20 September 2017