forked from qt-creator/qt-creator
Git: Add instant line annotation (blame)
Inspired by the Visual Studio Code plugin GitLens. Add an annotation to the editor line the cursor is currently in. A tooltip contains the commit data and allows to invoke git show for the commit. When the automatic annotation is turned off, it can still be forced for the current line with an action. The default shortcut for this action is: Alt+G,Alt+I Task-number: QTCREATORBUG-23299 Change-Id: I58eef9efcf531afb11470e5f5456e19f282b18d0 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
committed by
André Hartmann
parent
ea917a0aa6
commit
cae1936da3
@@ -36,5 +36,7 @@ const int MAX_OBSOLETE_COMMITS_TO_DISPLAY = 5;
|
||||
const char EXPAND_BRANCHES[] = "Branches: <Expand>";
|
||||
const char DEFAULT_COMMENT_CHAR = '#';
|
||||
|
||||
const char TEXT_MARK_CATEGORY_BLAME[] = "Git.Mark.Blame";
|
||||
|
||||
} // namespace Constants
|
||||
} // namespace Git
|
||||
|
||||
Reference in New Issue
Block a user