Indexing every time a project is opened?

It seems like AppCode indexes my project every time I open it, whether I closed it nicely or not. I seem to recall Java projects only (re)indexing when files change. This has the effect that opening my project (in a tree with over 4000 source files) takes significant amount of time. This can be rather annoying for obvious reasons (like reopening the project when the xcode project changes). Is this indexing actually doing indexing or is it just scanning the files to see if they need to be re-indexed?

More importantly, it seems like this happens in a blocking fashion. It might be that there's another task occuring during startup that isn't indexing. For the sake of troubleshooting, I've attached a CPU snapshot when opening the project. This snapshot started in the "no project" screen and ended as soon as the app became responsive again.



Attachment(s):
OC-108.1068_hedbor_29.08.2011_12.10.52.zip
4 comments
Comment actions Permalink

David,
We'are aware of such a problem and will fix it in future, please follow http://youtrack.jetbrains.net/issue/OC-196.

0
Comment actions Permalink

Hey David ... true , but count your blessings :) ... Xcode 4.1.1 reindexes every time you refactor something ! And this is how i stumbled across AppCode, out of sheer frustration with the other environment.

0
Comment actions Permalink

I filed this:

http://youtrack.jetbrains.net/issue/OC-1446?projectKey=OC

I'm not entirely sure it's just re-indexing. The main difference between XCode and AppCode is that AppCode is unusable for a minute or two after opening a project where XCode indexing happens in the background. I'm not 100% convinced this is due to indexing either, since typically that would happen in the background.

0
Comment actions Permalink

So with the latest builds, it actually shows a dialog that it's indexing so I guess that answers that. Although it's annoying that it makes it unusable while doing it (and I have to do it a lot more often than I should, at least with the previous build, since manipulating the groups didn't work right in AppCode), having the progress bar makes it more bearable.

0

Please sign in to leave a comment.