title: How to force IntelliJ to use a different home folder
body: <p>I have a computer with two hard drives. In the first one, an SSD disk, I have Windows partition (C) and on the second one (D), a raid volume, I install all the programs. I also moved my user folders (desktop, documents, downloads, pictures and videos) to <code>D:/Users/David</code>.</p>
  
  <p>After installing IntelliJ Idea on <code>D:/Program Filles(x86)</code> a .IntelliJIdea13 directory appeared on <code>D:/Users/David</code>. No problem with this as all was working nice. Then I installed Scala plugin, created a new SBT project and build it. After this, the .sbt directory used by SBT was in <code>C:/Users/David/.sbt</code> but the references to the libraries in my project are pointing to <code>D:/Users/David/.sbt</code>. The question is, how can I force IntelliJ Idea or Scala plugin to download the libraries to <code>D:/Users/David.sbt</code>?</p>