Intellij IDEA completion for Cordova Android Plugins

Quick note on getting IDE completion working within IntelliJ IDEA for an Android Cordova plugin.

Right-click on the following directories and go Mark Directory As > Source Root:

  • plugins/PLUGIN_NAME/src/android
  • platforms/android/CordovaLib/src
  • platforms/android/src

Now your IDE will be able to auto-complete all the Cordova .java source files for you to work against.

Posted on
Written by Dan Harper
Tagged under