title: How to set up Cordova plugin project with IDE support?
body: <p>I've been struggling to set up my cordova plugin project. Mainly due the facts that:</p>
  
  <ul>
  <li><p>Plugins need to be in a separate folder away from the main project</p></li>
  <li><p>When I use, for example, <code>cordova build android</code> to build the project, cordova copies the java file from my plugin folder and put it into <code>platforms/android/src</code> folder.</p></li>
  <li><p>Thus I should not modify my plugin's .java file in the Android project manually, I have to write my code in my plugin folder.</p></li>
  <li><p>But I can't import plugin folder into the IDE project, thus I don't have code completion.</p></li>
  <li><p>It's basically impossible to write Java/Objective-C without IDE support</p></li>
  </ul>
  
  <p>How can I set up an IDE(for example, for Android Studio) project with code completion for my plugin development?</p>