Termhint Get Termhint

Terminals · JetBrains IDEs

JetBrains IDE terminal autocomplete: IntelliJ IDEA, PyCharm, WebStorm

Last checked 19 November 2026

In short: Termhint adds its zsh autocomplete popup to the Terminal tool window of JetBrains IDEs on a Mac: IntelliJ IDEA, PyCharm, WebStorm, GoLand, CLion, Rider, RubyMine, PhpStorm, DataGrip and RustRover. It needs the Accessibility permission. The same popup then works in your other terminals too.

Set up autocomplete in IntelliJ IDEA, PyCharm or WebStorm

  1. Download Termhint, move it to Applications and open it. On launch it adds one marked block to ~/.zshrc, backed up first.
  2. Allow Termhint in System Settings → Privacy & Security → Accessibility. Termhint shows macOS's prompt on first launch, and notices the change without a restart (permissions).
  3. Make sure the IDE's terminal runs zsh, the default shell on macOS, and open a new terminal tab in the Terminal tool window.
  4. Type git checkout . The popup lists your branches, such as main and feature/login; Tab, the arrows, Esc and Enter go to it only while it is open.

Examples in a JetBrains project

Termhint reads branches, hosts and containers itself; it never runs git, ssh or docker for this. Completions come from bundled specs for 3,272 commands, the zsh completion functions on your Mac and, for the rest, the options in a command's man page.

How Termhint finds the cursor

The Terminal tool window exposes its text to macOS's accessibility API, and Termhint reads the cursor from it. JetBrains IDEs keep no blank cells after the cursor, so at the end of the line Termhint places it right of the last character.

Limits in JetBrains IDEs

Not working?

More fixes: terminal autocomplete not working and troubleshooting. Also using VS Code? See VS Code and its forks.

FAQ

Which JetBrains IDEs are supported?

IntelliJ IDEA (Ultimate and Community), PyCharm (Professional and Community), WebStorm, GoLand, CLion, Rider, RubyMine, PhpStorm, DataGrip and RustRover. The popup works in their Terminal tool window.

Why does it need Accessibility in a JetBrains IDE?

Termhint finds the cursor in the Terminal tool window's text, which macOS hands out only to apps with the Accessibility permission.

Why does the popup sit one cell to the left?

JetBrains IDEs keep no blank cells after the cursor, so at the end of the line Termhint places it right of the last character. The popup can sit one cell left of the word.

Which version was tested?

IntelliJ IDEA 2026.3. The other IDEs are recognized by their app identifiers.

Download for Mac All supported terminals