[urgent] Typing in some files is slow
Answered
I would like to know how to make the indexer and static analysis work correctly on *.h files containing a lot of contextless code because they are inserted into *.cpp files using #include "myfile.h" in the middle of the code. Basically, these files get a context after the preprocessor work.
My problem with this kind of file is that the file is completely red and adding a line break can take more than 5 seconds to take effect...
I am in a phase of migration of development tools in my company and this kind of problem is blocking for the adoption of CLion, unfortunately...
Thank you in advance.
Nicolas Aubry
Please sign in to leave a comment.
Hi, Nicolas! Could you please try using CLion 2018.2 EAP? You don't need to uninstall the stable version in order to test the EAP build - they can be installed side-by-side. Is the situation better in it?
I notice an improvement on line breaks that run fast and with indentation. On the other hand if I perform a "paste" action, it is 2 to 3 seconds of latency and loss of indentation.
Edit : With regard to static analysis, I notice also an improvement but I have a lot of "Expected unqualified-id"
Nicolas, please send automatically generated thread dumps which are located in the logs folder to clion-support at jetbrains.com so that we could investigate your issues.
As for "Expected unqualified-id", we need standalone code snippets with which the issues can be reproduced on our side.