问题
I'm not sure what I did to cause this, but adding a new file or package in IntelliJ now doesn't add them to subversion, and I have to add them manually via right-click -> subverion -> add.
Is there a setting that controls this behaviour?
回答1:
Go to File -> Settings -> Version control -> Confirmation -> When files are created You're probably looking for "Add silently".
Note: In IntelliJ 6 or earlier versions this is done with File -> Settings -> Version control -> General Settings -> Add silently
回答2:
If you've come here and the solution by Bozhidar Batsov doesn't solve the issue you may need to change the svn:global-ingnores in SVN Properties for the project.
Right click on the project go to Subversion | Set Property.... In the drop down select svn:global-ingores. Remove * from the list and hit OK.


回答3:
Simple Shortcut key does the work:
Select all the unversioned files that you wish to add in SVN and CTRL + ALT + A
回答4:
You can check unversioned files under View -> Changes -> Unversioned files and add it manually to VCS (works for IntelliJ 13).
来源:https://stackoverflow.com/questions/2817452/add-a-new-file-in-intellij-doesnt-add-to-subversion