Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 1.06 KB

CLION_GUIDE.md

File metadata and controls

16 lines (10 loc) · 1.06 KB

CLion support

First, make sure to do the steps from README.md so you have a working dev environment!

Drag and drop CMakeLists.txt to CLion project manager to add new cmake-based project, then add necessary profiles (hit the + symbol 3x): image

In Settings > Plugins, install EditorConfig and restart the IDE.

To enable ClangFormat support, install LLVM bundle on your system and make sure you can run clang-format from terminal. Then, go to Settings > Editor > Code Style and check the Enable ClangFormat flag. image

Hit Ctrl+Alt+S to reformat code or optionally enable reformat on save by going to Settings > Tools > Actions on Save: image

Now you have the full power of CLion and CMake at posession.