title: How to get PyCharm to auto-complete code in methods?
body: <p>When I'm using a 3rd party l
  ibrary such as <a href="http://code.google.com/p/boto/" rel="noreferrer">boto</a>, PyCharm seems to be able to auto-complete quite nicely</p>
  
  <p><img src="https://i.stack.imgur.com/rsKkH.png" alt="enter image description here"></p>
  
  <p>However, as soon as I define a function of my own, auto-complete breaks down inside that function. I understand why, since I can't give the function any type information about its arguments, so it can't guess how to auto-complete. Is there a way around this issue?</p>
  
  <p><strong>Edit</strong></p>
  
  <p>I tried using the docstring (for Python 2), but still no auto-complete</p>
  
  <pre><code>def delete_oldest_backups(conn, backups_to_keep, backup_description):
      """
      delete_oldest_backups(EC2Connection, int, string)
      """
  </code></pre>
  
  <p>(Also tried <code>boto.ec2.connection.EC2Connection</code> instead of just <code>EC2Connection</code>)</p>