33

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?

William Perron
  • 485
  • 7
  • 16
ripper234
  • 222,824
  • 274
  • 634
  • 905

5 Answers5

81

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

b.roth
  • 9,421
  • 8
  • 37
  • 50
Bozhidar Batsov
  • 55,802
  • 13
  • 100
  • 117
  • 2
    any idea on how to do this for files which are created in the project directory by an external tool? – jorrebor Oct 31 '14 at 13:41
  • Check [this](http://stackoverflow.com/questions/27284532/intellij-auto-add-files-to-svn) if you are still experiencing problems. – regisxp Dec 04 '14 at 10:32
5

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.

SVN Properties: Set Property

SVN Properties: Property Element to Delete

The Jeff
  • 71
  • 1
  • 5
3

Simple Shortcut key does the work:

Select all the unversioned files that you wish to add in SVN and CTRL + ALT + A

sri
  • 801
  • 9
  • 10
0

You can check unversioned files under View -> Changes -> Unversioned files and add it manually to VCS (works for IntelliJ 13).

0

you can go to settings, ctrl+alt+s -> version control -> confirmation : change the options of "when files are created".

also if it doesn't solved the issue you can right click on your project in intellij, go to subvertion> edit properties. check if there is a property named "ignore" or "global-ignores" with "*" value, remove "*" in these properties.

hamid.ma
  • 31
  • 3