Fail to get symbols and auto-completion

已回答

After cloning a cpp project all the symbols and referencing I was used to have were gone, and I cannot get to function definition by CTRL+<B>, for example. I can guess it has something to do with corrupted CMake files, but is there a way to add the relevant include files manually or to use the project sources in order to re-buld the symbols data-base?

Note that we're not using Cmake files here, but old good Makefiles. Is it a problem? I didn't had such issues before using this new cloned repository

0

CLion uses a concept of a project and relies on CMake as a build system for it. All the includes paths, variables and more are taken from CMake files and are used by CLion to understand your project better and to resolve your code correctly. Navigation is not expected to work unless you have a proper CMakeLists.txt for your project.

We understand how popular and important Makefiles build system is. So we are going to support it in future versions. Here is the feature request: https://youtrack.jetbrains.com/issue/CPP-494. Feel free to comment and upvote. Follow to get the updates. Also please take a look at our blog post where we explain the situation with Makefiles support: https://blog.jetbrains.com/clion/2017/04/clion-2017-2-roadmap/.

0

请先登录再写评论。