title: IntelliJ Code Completion not working for new Java classes
body: <p><code>IntelliJ IDEA</code> 13 has started exhibiting a very weird behavior in my local setup.</p>
  
  <p>Namely, in any new <code>Java</code> class added to an existing project, <code>Code Completion</code> does not work. So, after declaring an object variable of any type in the new class and then typing the name of that variable, followed by the dot (.), no suggestions come up for any of the methods of the corresponding object.</p>
  
  <p>For example, after declaring</p>
  
  <pre><code>File f = new File("/home");
  </code></pre>
  
  <p>typing <code>f.</code> does not bring up a list of all the methods in the <code>File</code> class, to select one from. As a matter of fact, when typing the dot (.), no suggestions appear and at the bottom left (in the status bar) of the IDE window, the message "Identifier expected. Identifier expected." is displayed. Sometimes, a long list of totally irrelevant methods from irrelevant components or libraries are proposed.</p>
  
  <p>Strangely, <code>Code Completion</code> works as expected if the above declaration happens in any of the existing classes.</p>
  
  <p>This behavior persists after many combinations of machine restart, IDE restart, project re-importing, closing/reopening, or rebuilding.</p>
  
  <p>Any ideas?</p>