* Add .git-blame-ignore-revs * Add readme comment * Add "changed to 80 max column"
3.5 KiB
Chatterino 2
Chatterino 2 is a chat client for Twitch.tv. The Chatterino 2 wiki can be found here. Contribution guidelines can be found here.
Download
Current releases are available at https://chatterino.com. Windows users can also install Chatterino from Chocolatey.
Nightly build
You can download the latest Chatterino 2 build over here
You might also need to install the VC++ Redistributables from Microsoft if you do not have it installed already.
If you still receive an error about MSVCR120.dll missing
, then you should install the VC++ 2013 Restributable.
Building
To get source code with required submodules run:
git clone --recurse-submodules https://github.com/Chatterino/chatterino2.git
or
git clone https://github.com/Chatterino/chatterino2.git
cd chatterino2
git submodule update --init --recursive
Building on Windows with vcpkg
Git blame
This project has big commits in the history which for example update all line endings. To improve the output of git-blame, consider setting:
git config blame.ignoreRevsFile .git-blame-ignore-revs
This will ignore all revisions mentioned in the .git-blame-ignore-revs
file. GitHub does this by default.
Code style
The code is formatted using clang format in Qt Creator. .clang-format contains the style file for clang format.
Get it automated with QT Creator + Beautifier + Clang Format
- Download LLVM: https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.5/LLVM-15.0.5-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.
Doxygen
Doxygen is used to generate project information daily and is available here.