Early Access Program

CLion 2018.2 EAP automatically treats included files as project files

Hi,

A new CLion 2018.2 EAP (build 182.3341.14) is now available! Download a fresh build from our site, or get it via a patch-update (will be available shortly in case you are using the previous EAP build). You can also update via Toolbox app or snap packages (in case of Ubuntu).

No license is required and the build is free to use, but it will expire within 30 days of the build date.

Download CLion 2018.2 EAP

CLion provides a full code insight (including the project-wide code analysis, a plenty of refactorings, an instant navigation) inside the project files, whereas non-project files are served with limited code insight. For a long time, from the v1.0 files not listed directly in the CMake files were not considered as project files. This caused some inconveniences as, for example, header files are rarely included this way, and in many cases it’s not required for successfully building the project.

Now, if you include the header or source file into any project file, CLion will automatically treat it as a project file as well, which means full code insight will work in there! (Mind, this works only if the file is located under the project root, so it won’t affect standard or 3rd party libraries located outside of the project)

auto_include

Note, there are still some cases where this doesn’t help like CPP-11340 and CPP-13351.

Full release notes are available by the link.

Your CLion Team
JetBrains
The Drive to Develop

Discover more