File | Settings | Languages and Frameworks | JavaScript | PhoneGap/Cordova

The page is available when the PhoneGap/Cordova plugin is enabled.

The plugin is not bundled with PyCharm, but it is available from the PyCharm plugin repository. Once enabled, the plugin is available at the IDE level, that is, you can use it in all your PyCharm projects. See Installing, Updating and Uninstalling Repository Plugins and Enabling and Disabling Plugins for details.

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 PyCharm 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, PyCharm 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 PyCharm 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.