IntelliJ IDEA 10.5 on Mac OS X: save subversion credentials

This is a note-to-self. So when I forget the solution I can come back here and find it.

IntelliJ IDEA is one of the best Java IDEs. More here.

I have had the problem of not being able to save the password of a test svn repository. I found the solution:

  1. vi ~/.subversion_IDEA/servers
  2. add the following lines:
    store-passwords = yes
    store-plaintext-passwords = yes
  3. Save and restart Idea.
  4. Play around with the changes tab until a popup shows up that asks for credentials.
  5. Give the credentials and click <Save the credentials> or whatever it says.
  6. That's it.