PhpStorm 2016.2 Help

PhoneGap/Cordova

File | Settings | Languages and Frameworks | JavaScript | PhoneGap/Cordova for Windows and Linux
PhpStorm | Preferences | Languages and Frameworks | JavaScript | PhoneGap/Cordova for OS X
Ctrl+Alt+S settings


The page is available when the PhoneGap/Cordova plugin is enabled. The plugin is not bundled with PhpStorm, but it can be installed from the JetBrains plugin repository as described in Installing, Updating and Uninstalling Repository Plugins and 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 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 check box 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.
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 add. 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 PhpStorm projects, select the Options check box and type --global in the text box. Click Install Package.

  • To remove a plugin, select it in the list and click the Uninstall button delete.
  • To upgrade a plugin to the latest available version, select the plugin in the list and click the Upgrade button arrowUp.
See Apache Cordova Plugins and PhoneGap Plugins for information about plugins and their use.

See Also

Last modified: 2 September 2016