- Download LLVM: http://releases.llvm.org/5.0.1/LLVM-5.0.1-win64.exe
- During the installation, make sure to add it to your path
- In QT Creator, select Help > About Plugins > C++ > Beautifier to enable the plugin
- Restart QT Creator
- Select Tools > Options > Beautifier
- Create a custom style called Chatterino, and copy paste the contents of .clang-format into it (I don't think the file can be automatically detected by QT Creator yet)
- Add a hotkey for the "Clang format file". I use F1
Created
January 7, 2018 19:38
-
-
Save pajlada/0296454198eb8f8789fd6fe7ea660c5b to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment