Panel Completions

The Panel Completions view gives the most control over AI suggestions. It displays multiple alternatives at once, enabling you to compare and choose the best completion for your needs. It is using GitHub Copilot without further model selection.

Panel Completions

Features

  • Multiple alternatives: See several suggestions side-by-side
  • Manual control: Generate suggestions on-demand by clicking the refresh button
  • Copy or insert: Each suggestion has dedicated buttons for copying or inserting at the cursor
  • Position-aware: Suggestions are inserted at the exact cursor position where they were requested
  • Full syntax highlighting: Complete language support for all common programming languages
  • Flexible placement: Dock the panel anywhere in your IDE layout

How to Use

  1. Open the Panel Completions view:

    • View -> Chucki - Completions
    • Or use the View menu in RAD Studio
  2. Position your cursor in the editor where you want a completion

  3. Click the Refresh button (top-left of the panel) to generate suggestions

  4. Review the displayed suggestions with their syntax highlighting

  5. For each suggestion:

    • Click the Copy button to copy to clipboard
    • Click the Insert button to insert at the cursor position
  6. Continue editing or generate more suggestions

Features in Detail

Multiple Suggestions

The panel can display:

  • Just one suggestion (if that’s the best match)
  • Several alternative approaches
  • Different complexity levels or styles

Compare them visually and pick the one that best fits your code style.

Syntax Highlighting

Supports all major languages:

  • Pascal / Delphi (DFM also)
  • C++ / C
  • HTML / CSS
  • JavaScript / TypeScript
  • Python
  • SQL
  • XML / JSON
  • And more…

Copy vs. Insert

  • Copy: Places the suggestion in your clipboard without modifying the document
  • Insert: Directly inserts the suggestion at the cursor position where it was generated

Configuration

Open the Panel Completions view under:

View -> Chucki - Completions

Panel Completions uses the same model configuration as other inline completions. You can switch between cloud and local models under:

Tools -> Options -> Chucki -> Completions

Local Models Support

Panel Completions works with both cloud and local AI models:

  • Cloud Models: GitHub Copilot for high-quality, AI-powered suggestions
  • Local Models: Run models locally for maximum privacy and offline capability

See Local AI Models for setup and configuration options.

Comparison with Other Modes

Feature Ghost Text CodeInsight Panel
Multiple options No No Yes
Manual refresh No No Yes
Copy/Insert buttons No No Yes
Full preview Yes Partial Yes

For suggestions inside the editor text, see Ghost Text. For integrated CodeInsight, see CodeInsight Completions.