From 085b724886a7e3d52734d66c4a598079464a0596 Mon Sep 17 00:00:00 2001 From: coral Date: Sun, 7 Jan 2018 11:43:28 -0800 Subject: [PATCH] Added instructions on automatic code formatting --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 000a3dbfd..c369a43a4 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ Chatterino 2 is the second installment of the Twitch chat client series "Chatter ## Code style The code is normally formated using clang format in Qt Creator. [.clang-format](https://github.com/fourtf/chatterino2/blob/master/.clang-format) contains the style file for clang format. +To setup automatic code formating with QT Creator, see [this guide](https://gist.github.com/pajlada/0296454198eb8f8789fd6fe7ea660c5b). + ## Building Before building run `git submodule update --init --recursive` to get required submodules. In case you are new to using qt creator or c++ be sure to add -j to your make arguments as shown here [image](https://i.fourtf.com/GreenSweetImage.png) so it uses all your cpu cores to build.