问题:CLion某工程目录下的所有文件打开是上方显示:This file does not belong to any project target,code insight features might not work properly.
具体影响有:头文件中的变量,直接使用F12查找其usages时,没有反应,提示如下:
解决方法:
右键该工程目录的根目录,选择Mark Directotry as,然后选择Project Sources and Headers
问题:CLion某工程目录下的所有文件打开是上方显示:This file does not belong to any project target,code insight features might not work properly.
具体影响有:头文件中的变量,直接使用F12查找其usages时,没有反应,提示如下:
解决方法:
右键该工程目录的根目录,选择Mark Directotry as,然后选择Project Sources and Headers