Changed IntelliJ project files

My friend and I are working on a project team through Dropbox. I used to use Eclipse and Eclipse would automatically update the existing files. Unfortunately, every time we make a new change, IntelliJ says this:

enter image description here

We then need to click Yes, which then closes all our tabs and is very annoying. Is there a way to disable this in IntelliJ? (We want it to work functionally equivalent to Eclipse, if possible!)

+3


source to share


3 answers


I think this problem is not caused by changing the actual code files, but the IDEA config files that are in a folder .idea/

inside your project.



One way to work around this problem is to use selective sync to stop syncing the configuration folder.

+2


source


You can use below shortcut to sync classes.

ctrl + alt + y



And also check its internal settings by clicking on HotSwap

in File > Settings

, and then click Reload classes in background

, you can also use a shortcut, as shown below, to upgrade.

ctrl + F5

+2


source


I would suggest to stop using dropbox. Using git is a much better collaboration solution and there are free git services out there. There are even some that allow free private repositories for small teams. IDE project files usually shouldn't be part of your source code.

In addition, there are additional benefits to using the correct source controls such as auditing and history, merging, and more.

+1


source







All Articles