6

AppCode is indexing my entire home folder including places like ~/Library/Containers/com.apple.Maps/... and ~/Dropbox/ etc. which is taking eons. I know I can invalidate my cache and restart, but then it will try to index everything again.

Is there a way to limit the locations where AppCode indexes? or to see what paths it tries to index?

This answer (https://stackoverflow.com/a/6535511) doesn't work as I don't have my entire home folder in the project (that I know of). This answer seems to only work for Java projects (https://stackoverflow.com/a/45598530). This answer just causes an endless loop: https://stackoverflow.com/a/49283641

Jason
  • 13,563
  • 15
  • 74
  • 125
  • Your project's search paths might accidentally contain a reference to your home directory, or it might just be a bug. If you [create an issue](https://youtrack.jetbrains.com/newIssue) we can take a look for you. – nschum Jan 08 '19 at 21:15
  • Is there any way to see how the index directories are found? For instance, this -> that -> that – Jason Jan 15 '19 at 12:38
  • Would appreciate marking my answer as the correct answer if you think it is. – ShaLi Shaltiel Feb 09 '20 at 15:30

1 Answers1

5

In AppCode, navigate to the files navigator.

Files navigator

Then you can right click on any folder and exclude it.

Exclude folder

ShaLi Shaltiel
  • 148
  • 2
  • 7
  • 2
    Saved my day! For me, it wasn't setting everything as "Excluded", but rather setting the correct folder as the "Project Sources and Headers". – dasfima Dec 03 '19 at 15:42