mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Chat client for https://twitch.tv
58d892a8c2
* Make emote tab completion search for substrings Previously, tab completion only searched for emotes that start with the current prefix under the cursor. This commit makes tab completion look for the current prefix as a substring in any position, not just the start. Examples: * In forsen's channel, tabbing on "pls" will cycle through "DonaldPls", "forsenPls", "GachiPls", "nyanPls" and "SourPls". * As a forsen subscriber, tabbing on "sen1" will complete to "forsen1". * As a pajlada subscriber, tabbing on "shrug" will cycle through "pajaShrugL" and "pajaShrugR". (Unless you are in a channel with more "shrug" emotes, of course.) * Add a setting for prefix and substring completion This commit adds a setting under the "Miscellaneous" section to allow user to choose whether they want prefix-only or substring emote completion. The QCompleter filter mode and `addString` function are now chosen according to the user's setting. * Improve description of emote completion setting Also reintroduce a blank line that went missing. |
||
---|---|---|
.CI | ||
.docker | ||
.github/PULL_REQUEST_TEMPLATE | ||
docs | ||
lib | ||
resources | ||
src | ||
tests/src | ||
tools | ||
.clang-format | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
appveyor.yml | ||
BUILDING_ON_LINUX.md | ||
BUILDING_ON_MAC.md | ||
BUILDING_ON_WINDOWS.md | ||
chatterino.pro | ||
CMakeLists.txt | ||
conanfile.txt | ||
ISSUE_TEMPLATE.md | ||
Jenkinsfile | ||
LICENSE | ||
README.md | ||
update_filelist.py |
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.
Downloading
You can download the latest Chatterino 2 build over here
You might also need to install the VC++ 2017 Redistributable 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.
Releases for linux and mac will follow soon™
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
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: http://releases.llvm.org/6.0.1/LLVM-6.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.