Skip to Content
DocumentsAIAI Programming Guide

CodeExpander Pro × AI Programming: Efficiency Guide

How CodeExpander Pro doubles your productivity in the AI era

Document index · AI & Productivity


Pain Points in AI Programming

1. Repeating prompts

  • Same or similar prompts in ChatGPT/Claude/Cursor every time
  • Complex prompt templates hard to remember and manage
  • Prompts scattered across projects and scenarios

2. Copy-paste code fragments

  • AI output needs repeated formatting
  • Common helpers and config code looked up again and again
  • Switching between AI tools loses snippets

3. Docs and screenshots

  • AI tutorials need many screenshots and annotations
  • Bug reports need clear error captures
  • Code review needs fast markup

4. Knowledge management

  • AI conversation history spread across platforms
  • Valuable code not organized
  • No way to measure AI-driven efficiency

How CodeExpander Pro Helps

Prompt templates

Use FillIn variables for reusable prompt templates: single/multi-line, dropdown, checkbox; one abbreviation → full structured prompt. Group by scenario (e.g. ai- prefix). See FillIn variables.

Code wrappers

Insert try/except, async wrappers with %c% for cursor and %cv% for clipboard. See FillIn · Function variables.

Screenshot + annotation

Region/window capture → annotate → style background → copy. See Screenshot & Annotation.

Clipboard history

Auto-save copied code; search, favorite, paste. See Clipboard.

Usage stats (Pro)

Expand count, characters saved, streak, trends. See Usage statistics.


Core Scenarios

ScenarioSummary
Prompt engineerGroups + FillIn + ExpandIn (browser only) + GitHub Gist sync
AI-assisted full-stackPersonal snippet library + script variables + ExpandIn (VS Code/Cursor only)
Tech writerScreenshot + Pin overlay + snippets in Markdown
Indie devGroups per project + shared Common + WebDAV multi-device sync

Setup Guide

  1. AI prompt library: Create group “AI-Prompts”, prefix ai-, ExpandIn browser only; add ai-code, ai-fix, ai-review, ai-doc; use %filltext%, %fillarea%, %fillmenu%, %fillcheck%.
  2. Code snippet library: Group by language (Python/JS/TS/Shell); templates for error handling, logging, types, tests; variables %c%, %cv%, %date%, %s:abbr%.
  3. Shortcuts: Assign global shortcuts for main window, search, screenshot, clipboard. See Settings → Shortcuts. Trigger key: Tab in editor, Space in browser.
  4. Sync: WebDAV or Gitee Gist; auto sync and selective sync per group.

Best Practices

DO: Use FillIn for flexibility; short abbreviations (3–8 chars); backup and sync; groups and prefix for scale; use stats to optimize.
DON’T: Long abbreviations; overly complex snippets (split them); skip ExpandIn (accidental triggers); skip sync (data loss risk).


Contact: in-app Settings → Support; contact@once.work