mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Chat client for https://twitch.tv
browser_ext | ||
dependencies | ||
docs | ||
forms | ||
lib | ||
resources | ||
src | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
BUILDING_ON_LINUX.md | ||
BUILDING_ON_MAC.md | ||
BUILDING_ON_WINDOWS.md | ||
chatterino.pro | ||
ISSUE_TEMPLATE.md | ||
LICENSE | ||
README.md |
Chatterino 2
Chatterino 2 is the second installment of the Twitch chat client series "Chatterino". For now you can check out Chatterino 1 at https://chatterino.com.
Building
Before building run git submodule update --init --recursive
to get required submodules.
Code style
The code is formated using clang format in Qt Creator. .clang-format contains the style file for clang format.
To setup automatic code formating with QT Creator, see this guide.
Get it automated with QT Creator + Beautifier + Clang Format
- 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
- Under
General
selectTool: ClangFormat
and enableAutomatic Formatting on File Save
- Under
Clang Format
selectUse predefined style: File
andFallback style: None
Qt creator should now format the documents when saving it.