Ghost Text

Ghost Text shows AI-generated suggestions directly in the editor as translucent text. This is the fastest and least intrusive way to receive code completions. It is using GitHub Copilot without further model selection.

Ghost Text

Features

  • Integrated in CodeInsight: Appears with every auto completion (Ctrl+Space)
  • Non-intrusive: Displays as semi-transparent text that doesn’t interfere with editing
  • Smart scope: Can suggest single characters, full lines or multi-line blocks
  • Syntax highlighting: Full syntax highlighting for better readability
  • Context-aware: Understands the surrounding code and language patterns and adapts to your coding style

Keyboard Shortcuts

Action Shortcut
Accept Tab
Dismiss Esc
Continue typing Ghost Text adapts automatically

How It Works

  1. Start typing in your code editor
  2. Trigger CodeInsight automatically or with Ctrl+Space
  3. The suggestion appears as translucent text inline with your code
  4. Press Tab to accept the suggestion or Esc to dismiss it
  5. If you continue typing, Ghost Text will either adapt to match your input or disappear

Configuration

You can enable Ghost Text and adjust its behavior under:

Tools -> Options -> Chucki -> Completions

  • Toggle Inline Completions to enable/disable Ghost Text
  • Choose Ghost Text as your completion mode (mutually exclusive with CodeInsight)
  • Configure your model: Cloud models (GitHub Copilot) or local models

Local Models Support

Ghost Text works with both cloud-based and local AI models:

  • Cloud Models: GitHub Copilot and other cloud providers for high-quality suggestions
  • Local Models: Run models locally for maximum privacy and offline capability

See Local AI Models for setup and configuration options.

For more control over multiple suggestions, see Panel Completions.