Skip to content

About

IntelliJ plugin: show git branch and terminal status (⏳/✓) in project window tabs

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

Repository files navigation

Branch Tab Title

Release Stars

JetBrains Marketplace

Install from Marketplace · ⬇ Download latest · Settings → Plugins → ⚙ → Install Plugin from Disk

IntelliJ plugin that appends ⏳|✓ <branch> to the project window title — useful when project windows are merged into tabs on macOS.

d ✓ release          a ⏳ feature/PROJ-123_add-login

Project tabs showing the branch and terminal status

  • Branch: read from .git/HEAD (worktrees supported), refreshed every second
  • ⏳: any terminal tab of the project whose title starts with ⏳ (set by your shell, below)
  • Shorten names: Settings → Advanced Settings → Branch Title
Setting Default Example
Branch regex empty (full name) ^feature/([A-Z]+-[0-9]+)_(.+)$
Replacement $0 $1 $2 → PROJ-123 add-login

Non-matching or invalid regex falls back to the full branch name.

Terminal status (⏳/✓)

The plugin only reads terminal tab titles, so the shell has to set them.

  1. Settings → Advanced Settings → Terminal → Show application title
  2. zsh (~/.zshrc; with oh-my-zsh add DISABLE_AUTO_TITLE="true" before source $ZSH/oh-my-zsh.sh):
autoload -Uz add-zsh-hook
_tab_branch() { local b; b=$(git branch --show-current 2>/dev/null); print -rn -- "${b:-${PWD:t}}" }
_tab_title() { print -rn -- $'\e]0;'"$1"$'\a' }
_tab_idle() { _tab_title "✓ $(_tab_branch)" }
_tab_busy() { _tab_title "⏳ $(_tab_branch)" }
add-zsh-hook precmd  _tab_idle
add-zsh-hook preexec _tab_busy
  1. tmux (~/.tmux.conf) — pass pane titles to the outer terminal:
set -g set-titles on
set -g set-titles-string "#T"
  1. Claude Code — its own title does not change while working, so turn it off and set ⏳/✓ from hooks (~/.claude/settings.json: "env": {"CLAUDE_CODE_DISABLE_TERMINAL_TITLE": "1"}, UserPromptSubmit → busy, Stop → idle). See hooks/claude-tab-title.sh.

Build

Compiles against the installed IntelliJ (2025.3+) — no Gradle.

./build.sh install

Notes

  • Tested on IntelliJ IDEA 2025.3 (macOS, Classic terminal engine).

Star history

Star History Chart

License

MIT

About

IntelliJ plugin: show git branch and terminal status (⏳/✓) in project window tabs

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages