Excluding files from symbols index
I'm working on iOS application which depends on pretty huge C++ library (1000000+ LOC). Is there any way to exclude those files from AppCode parser to reduce symbols index size? Currently it makes auto completion pretty slow.
请先登录再写评论。
Jakob,
it's currently not possible, also, excluding any source/header file from indexing will break most of code-insight features (find usages, highlighting, refactorings, navigation).
What AppCode version do you use? What is the average memory consumption (Appearance | Show memoty indicator)?
Hi Anton,
I'm using AppCode 3.0 (Build #OC-137.67). Currently memory consuption stays at around 1.2-1.5 GB. But to make first symbols indexing I had to increase maximum allowed memory to 2.5 GB. C++ code that I wanted to exclude is Boost library. It is used in one of subprojects, which builds library required by application. Unfortunately workspace and project structure cannot be changed.
I see, then it's mostly on us to improve the performance. Could you please take a CPU snapshot and file a bug report?
Done. Please, let me know if you will need any further details.
http://youtrack.jetbrains.com/issue/OC-10158