IntelliJ changing my folder statuses

I have set folders in an Android project to be Source/Excluded/etc. I run Build, and the folder statuses CHANGE, so all are excluded, except the "gen" folder (Android project) which is the only one I DON'T want included. Whatever I set the folders to, the IDE just goes off and changes the status itself, with no explanation as to why. If the UI is there to change, it should work, and it isn't. Why is the IDE changing my settings? I've already re-created the whole project to try and solve this, it's incredibly irritating.

It seems ever so often I decide to buy IntelliJ, but then something like this happens and I just wonder whether it's worth it when basic features like this to specify which folders are source don't work.

v10.5

2 comments
Comment actions Permalink

Hello Oliver,

Why don't you want the 'gen' folder included? It's where the R.java file
is generated to, and most of the IntelliJ features won't work if it isn't
able to find the R.java file.

I have set folders in an Android project to be Source/Excluded/etc. I
run Build, and the folder statuses CHANGE, so all are excluded, except
the "gen" folder (Android project) which is the only one I DON'T want
included. Whatever I set the folders to, the IDE just goes off and
changes the status itself, with no explanation as to why. If the UI is
there to change, it should work, and it isn't. Why is the IDE changing
my settings? I've already re-created the whole project to try and
solve this, it's incredibly irritating.

It seems ever so often I decide to buy IntelliJ, but then something
like this happens and I just wonder whether it's worth it when basic
features like this to specify which folders are source don't work.

v10.5


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

As discussed on email the cause of this is that IntelliJ and Dropbox do not play well together. My experience is that if an IntelliJ project is created in a local folder that is part of the Dropbox hierarchy, it can become corrupt, and need recreating. I've moved the source code out of the project folder. A shame as it's nice to keep the source code near to the other project files, but it's obviously not possible.

You are right about the gen folder.

Appreciate your help Dmitry - you have been very responsive indeed. I'm now a happy paying customer - glad to support IntelliJ.

Ollie

0

Please sign in to leave a comment.