title: Pydev Code Completion for everything
body: <p>In many cases (such as function parameters) <a href="http://pydev.org/" rel="noreferrer">Pydev</a> doesn't statically know the type of a variable. Therefore code completion (after <code>.</code> or when using <code>ctrl+space</code>) doesn't work.</p>
  
  <p>In most cases, you <strong>know</strong> what type will be in run-time as you are designing the software. Is there a way to hint Pydev to code completing it correctly?</p>
  
  <p>I guess this may require a specific Pydev feature, or perhaps even a new Python PIP.</p>
  
  <p>This is actually seems to be a generic problem with all dynamic languages...</p>
  
  <p><strong>UPDATE:</strong><br>
  Perhaps an example is in place for clarification:</p>
  
  <pre><code>def some_func(a_list, an_object):
      a_list.app        # Here I would not get code completion for append
  </code></pre>
  
  <p>An example of something that <em>could</em> work, if Pydev (or a PIP) would support it:</p>
  
  <pre><code>from someobj import SomeObject
  def some_func(a_list, an_object):
      # typecast: a_list=list
      # typecast: an_object=SomeObject
      a_list.app        # Now code completion would show append
  </code></pre>
  
  <p>I'm not endorsing this specific method - it's just an example of a system that <em>could</em> work. Again, of course this should not be mandatory - but <em>sometimes</em> the lack of the possibility to hint the type is annoying.</p>