Some code grayed out?

Answered

I just opened the editor for first time and seing this why parts of code are grayed out like the if (kMinJpegSize > imageSize) block?

 

0
4 comments

Hello!

There is a warning at the top of the file - “Project is not configured”. Code insight features do not work reliably in this case. What build system is your project based on?

0

I dont know i opened someone elses project i am not even C++ programmer just curious to see.

0

The thing is that proper C++ parsing/resolve requires some extra knowledge, such as compilation flags, header search paths, etc. This information is stored in the project model and must be extracted from there. That's why the build system integration is so essential for smart code features in CLion. 

But we are working on better support for opening projects with an unsupported build system or without it - CPP-34547

0

Is i use CLion option to auto generate cmake lists how relaiable is that?

0

Please sign in to leave a comment.