Editor Craft, Many-Files Tab Management & Code Screenshots¶
Ceptra's editor is built directly on Apple's AppKit NSTextView (TextKit 1) for instant startup, smooth 120Hz scrolling, and zero Electron memory bloat.
Managing Many Open Files¶
- Drag-to-Reorder Tabs: Smooth, oscillation-free drag reordering across variable-width tabs with live sibling displacement and subtle haptic alignment ticks.
- Per-Tab & Empty-Rail Context Menus: Right-click any tab to:
- Close (Cmd+W), Close Others (Cmd+Option+W), Close Tabs to the Right, Close Tabs to the Left, Close Saved Tabs (keeps unsaved edits untouched), Close All Tabs, and Reopen Closed Tab
- Save / Save All, Run Test File / Debug Test File (for executable suites)
- Copy Relative Path, Copy Full Path, Reveal in Explorer, and Reveal in Finder
- Anchored Open Tabs Switcher: When multiple files are open, a compact tab-count switcher pill (
N ⌄) stays pinned at the trailing edge of the tab rail so you can jump straight to any open tab (with checkmark, dirty indicator●, and bulk close actions) even with dozens of files open. - Automatic Duplicate-Filename Disambiguation: Opening files that share a filename (for example,
tests/web/login_test.tsandtests/api/login_test.ts) automatically shows minimal parent-folder hints (web,api) in both the tab bar and switcher.
Navigation, IntelliSense, Folding & Zoom¶
- PyCharm-Style Symbol Navigation: Cmd + Click, Ctrl + Click, or F12 jumps to imports,
require(), TypeScript path aliases, barrel re-exports,codecept.conf.*includePage Objects, customI.*steps, Gherkin step definitions, and workspace usages — with Back / Forward history (Ctrl+- / Ctrl+Shift+-). - Framework-Aware IntelliSense: Auto-completes on
.,@,/, or Ctrl+Space for CodeceptJSI.*&steps.d.ts, Playwright TS callback arguments (async ({ page, request })), Playwright Python fixtures &snake_caseAPIs (page.get_by_role,expect(page).to_have_title), Page Objects,@tags, and relative paths. - Non-Destructive Code Folding: Collapse or expand blocks via gutter chevrons, inline
⋯ N linesbadges, or shortcuts (Cmd+Option+[ / Cmd+Option+] and Cmd+Option+Shift+[ / Cmd+Option+Shift+]) across JS, TS, Python, JSON, Gherkin, YAML, Markdown, and XML. - Smooth Scroll-Anchored Zoom: Zoom smoothly with Cmd+= / Cmd+- / Cmd+0, trackpad pinch, or Cmd + scroll wheel with a subtle floating percentage HUD.
- Command Palette (Cmd+K / Cmd+P): Fuzzy-jump to any file, scenario, tab action, or studio tool in milliseconds.
Code Block Screenshots (⌘⌥P / ⌘⌥⇧P)¶
Capture crisp, publication-ready 2× / 3× Retina PNG screenshots of any code block right inside Ceptra:
- 1-Step Quick Copy (Cmd+Option+Shift+P): Automatically extracts your current selection — or smartly detects the enclosing
Scenario(),test(), Pythondef test_*(including@pytest.mark.*decorators), or Gherkin block at your caret — and puts the Retina PNG straight onto your clipboard (⌘Vinto Slack, GitHub PRs, Jira, Notion, or slides). - Code Screenshot Studio (Cmd+Option+P): Interactive preview with:
- 8 Curated Backdrops: Candy, Midnight, Breeze, Sunset, Emerald, Amber, Graphite, and Transparent
- 5 Syntax Themes: Obsidian, Dracula, Catppuccin, Tokyo Night, and Paper Light
- Auto-dedented indentation preserving original line numbers, macOS traffic-light / minimal / frameless window chrome, drag-and-drop export, and Save PNG (Cmd+S).

