IntelliJ IDEA takes too long to show files in the "file/folder selector" dialog
<h2><em>Update (24/01/16)</em>:</h2>
<p><em>I'm not sure why, but it doesn't happen anymore, I forgot what I've changed the last time I was using this PC, I remember disabling Google Drive from opening at startup, but not sure that's the reason, the moment I'll figure it out I'll post an update here.</em></p>
<p><em>Also, since I found no other people having this problem on the Internet, I guess it's a good idea to post solutions in case someone had this problem and solved it for the next user who'll face this problem.</em></p>
<hr />
<h2>Problem description:</h2>
<p>Whenever I get to the dialog where I open a file or directory (Like &quot;File&gt;Open...&quot; or &quot;import settings&quot;) it takes about 50 seconds to show the file tree.
There's nothing shown except &quot;Loading...&quot; and &quot;Nothing to show&quot;.</p>
<p>Also, clicking the &quot;X&quot; button or the &quot;Cancel&quot; button does not respond until it finishes with the process of showing the file tree.
The same can be said about dragging a file/folder, it just won't respond until it finishes the slow initialization.</p>
<p>The dialog window itself is responsive all the time, it's not frozen.</p>
<p>Seems like it takes a long time to initialize, and after that it works perfectly (Until the next time I get to this dialog).</p>
<h3>Technical details:</h3>
<ul>
<li>I'm using Windows 10 Pro 64bit</li>
<li>The OS and the software are installed on an SSD</li>
<li>The directories I'm browsing are on the same SSD</li>
<li>The project is an Android project</li>
</ul>
<h3>Things I've tried:</h3>
<ul>
<li>Disabling windows indexing</li>
<li>Running the 64bit version of IntelliJ IDEA</li>
<li>Running it as administrator</li>
<li>Invalidating catches and restarting</li>
<li>Turning off the antivirus (NOD32)</li>
</ul>