Code navigation doesn't work
已回答
I'm working on a pretty large code base that is derived from the Android Open Source Project. When I first open it in CLion, it takes a while to index everything and after that, full text search and Shift-Shift for jumping to files works fine. What doesn't work and never has is Ctrl+Click on an identifier to go to its definition. The only situation where this works is if by chance the identifier is in the same .cpp file.
Am I missing something here? Is it expected that code navigation would not work on such a large project?
请先登录再写评论。
Hi!
Could you please specify which build system you are using and how you opened your project in CLion?
Hey
I'm not using any build system integrated with CLion. I only use CLion to view and edit code. The code is built from a huge array of make files from the command line and that's what I use.
Not sure what you mean by "how I opened", I'm just starting CLion and it is opened automatically...
So? Anything? I'd like to think that being able to work on a large code base would be a priority for CLion...
For now CLion is able to work with CMake and Gradle projects and also can open project from Compilation Database. Makefile build system is not supported yet, feel free to comment or upvote the corresponding ticket: https://youtrack.jetbrains.com/issue/CPP-494. This means that code-insight features are not available for Makefile-based projects.