Expand
Expand means typing an abbreviation plus a trigger key in any text field (editor, browser, chat, email) and having it replaced with the full snippet content. No copy-paste, no re-typing.
How to expand in three steps
- In CodeExpander, create a snippet with an abbreviation (e.g.
sig) and content (e.g. email signature). - Type that abbreviation in any input field.
- Press the trigger key (default Tab); the abbreviation is replaced.
If you forget an abbreviation, use the search window or inline search.
Trigger keys
You often type the first two letters of log while coding. By default you press Tab (or another key you pick) before it expands, so a half-typed word is not replaced. The switch is Settings โ General. Keep it on.
Settings โ General โ Trigger: master switch, require trigger key, key list, word boundary, adaptive case. Group ExpandWhen can override the boundary.
Available: Tab (default), Space, Enter, Alt, and . , ; - / = and others.
If โrequire a trigger keyโ is off, a finished abbreviation expands immediately โ false hits go up. A group can have its own trigger keys on this computer; they do not sync. The machine-wide switch is Pause expansion.
Expand when
You type design and do not want sig inside it to become a signature. Expand when on a group decides what may sit in front of an abbreviation โ a space, punctuation, or anything.
| You pick | Everyday effect |
|---|---|
| Follow global | Uses Settings โ General โword boundaryโ. On: it should feel like a new word. Off: more loose |
| Any | Expands after any character. More accidents |
| Whitespace | Needs a space or line break in front |
| Not a letter or digit | Punctuation in front is fine โ comma, then the abbreviation |
Settings also choose whether you must type the whole abbreviation, or only the ending. Save the group. The next time you type, the new rule is in effect.
ExpandIn (per app)
In VS Code, log should become a log template. In chat, log should stay four letters. Limit the snippet to those apps and chat will not fire it.
This is a Pro capability. No apps selected = every app.
File/group ExpandIn: all apps, except, only these apps (Pro), disable. Search window and inline search stay unrestricted.
- Open a snippet or group.
- Find Only expand in these apps.
- Search and check VS Code, Chrome, Cursor, and so on.
- Save. Expansion runs only when the app in front matches.
A snippet setting overrides the group. If a window is not recognized, turn the limit off for that snippet. The search window and inline search still insert freely.
| Scene | Tip |
|---|---|
| IDE templates | Limit the group to editors |
| Browser prompts | Limit the snippet to browsers |
| Same abbreviation, different text | Two snippets, different apps |
Adaptive case
With Settings โ General โ adaptive case on:
- All-caps abbreviation (
SIG) โ expansion follows an uppercase style - Leading capital (
Sig) โ title-case style - Lowercase keeps the snippet body as stored
Scripts and rich text still follow the file environment. Turn the setting off for strict stored casing.
Pause expansion
You are screen-sharing and do not want log to become a template. Press enable/disable expansion, or turn it off in the tray. Turn it back on after the meeting.
- Pause everything: the switch under Settings โ Keyboard, or the tray menu.
- Fewer accidents: require a trigger key, use a word boundary, or limit apps.
- Stop one snippet: change its abbreviation, or move it out of the group.
There is no browser extension, so you cannot โpause only in Chromeโ. There is no โhold Shift to skip this oneโ. If an expand fails, a notification explains why. The text you were typing is not rewritten in silence.
Conflicting abbreviations
The snippet list counts full abbreviations (group prefix included). A count above 1 shows a warning.
- Change one abbr or group prefix.
- Or split the same abbr across apps with ExpandIn (different abbrs are still easier to remember).
- Shared org files that match your personal files fire once โ do not keep a personal โbackupโ with the same abbreviation.
There is no โpick which snippetโ conflict window. Use the search window when you forget an abbr.
Shortcuts
- Global: open the main window, search, toggle expand, create from clipboard. Configure in Settings โ Hotkeys.
- Per-snippet shortcut: bind a global shortcut to a snippet for the few you use most.
Tip: Set abbreviations and a trigger for your top few (signature, try wrapper, daily header); muscle memory follows in a few days.