-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Preview Panel Guide
This guide explains how to use AionUi's comprehensive preview panel system, which supports 10+ file formats with real-time editing capabilities.
The Preview Panel is AionUi's file preview and editing system, supporting viewing and editing of multiple file formats. It provides instant preview of AI-generated results, real-time editing capabilities, and multi-tab management - all without switching applications.
- โ View Results Instantly - After AI generates files, view preview immediately without switching apps
- โ Real-time Tracking + Editable - Automatically tracks file changes, editor and preview sync intelligently
- โ Multi-Tab Support - Open multiple files simultaneously, each in its own tab with smart tab management
- โ Version History - View and restore historical versions of files (Git-based)
- Full PDF document viewing
- Page navigation
- Zoom controls
- Text selection (where applicable)
-
.doc,.docx,.odtformats - Document structure viewing
- Content preview
- Formatting display
-
.xls,.xlsx,.ods,.csvformats - Spreadsheet viewing
- Data display
- Formula viewing
-
.ppt,.pptx,.odpformats - Slide preview
- Presentation structure
- Content display
Supports 30+ programming languages with syntax highlighting:
-
JavaScript (
.js,.jsx) -
TypeScript (
.ts,.tsx) -
Python (
.py) -
Java (
.java) -
Go (
.go) -
Rust (
.rs) -
C/C++ (
.c,.cpp,.h) -
CSS (
.css) -
JSON (
.json) -
XML (
.xml) -
YAML (
.yaml,.yml) -
Shell Scripts (
.sh,.bash) - And many more...
Features:
- Syntax highlighting
- Code formatting
- Line numbers
- Code folding
- Full Markdown rendering
- Live preview
- Split-screen editing
- WYSIWYG editing support
- HTML rendering
- Real-time preview
- Source editing
- Visual editing
Supports multiple image formats:
-
PNG (
.png) -
JPG/JPEG (
.jpg,.jpeg) -
GIF (
.gif) -
SVG (
.svg) -
WebP (
.webp) -
BMP (
.bmp) -
ICO (
.ico) -
TIFF (
.tiff) -
AVIF (
.avif)
Features:
- Image viewing
- Zoom controls
- Full-screen mode
- Image information
- Diff comparison viewing
- Change highlighting
- Line-by-line comparison
- Color-coded changes
Files are automatically opened in the preview panel when:
- AI generates files - Automatically previewed after generation
- You click on files - Click any file in the workspace or conversation
- Files are referenced - Files mentioned in conversations can be opened
- Open Multiple Files - Each file opens in its own tab
- Smart Tab Reuse - Same file won't be opened multiple times
- Tab Overflow - Automatically shows fade effect and scroll support
-
Context Menu - Right-click tabs for:
- Close current tab
- Close other tabs
- Close all tabs
-
Cmd/Ctrl + S- Save current file -
Cmd/Ctrl + W- Close current tab -
Cmd/Ctrl + K, Cmd/Ctrl + W- Close all tabs -
Cmd/Ctrl + Tab- Switch between tabs
Features:
- Live preview mode
- Split-screen mode (editor + preview)
- WYSIWYG editing
- Markdown syntax support
- Real-time synchronization
Usage:
- Open a Markdown file
- Edit in the editor panel
- See live preview update
- Use split-screen for side-by-side editing
Features:
- Monaco Editor integration
- Syntax highlighting
- Code completion
- Error detection
- Multi-cursor editing
Usage:
- Open a code file
- Edit directly in the editor
- Save with
Cmd/Ctrl + S - Changes are tracked automatically
Features:
- Real-time HTML editing
- Visual preview
- Source code editing
- Live updates
Usage:
- Open an HTML file
- Edit HTML source
- See real-time preview
- Save changes
The preview panel automatically tracks file changes:
- Auto-refresh - Updates when files are modified
- Debounce optimization - Prevents excessive updates
- Change detection - Highlights unsaved changes
- Sync with workspace - Stays in sync with file system
View and restore historical versions:
- Git Integration - Uses Git for version tracking
- View History - See all previous versions
- Restore Versions - Restore any previous version
- Compare Versions - Compare different versions
Accessing Version History:
- Right-click on file in preview
- Select "View History"
- Browse through versions
- Restore desired version
- Use Workspace - Associate workspace for better file management
- Keep Files Organized - Organize files in logical folders
- Use Descriptive Names - Name files clearly for easy identification
- Preview First - Always preview before editing
-
Save Regularly - Use
Cmd/Ctrl + Sfrequently - Check Changes - Review changes before saving
- Use Version History - Leverage version history for safety
- Close Unused Tabs - Close tabs you're not using
- Limit Open Files - Don't open too many files simultaneously
- Use Split-Screen Wisely - Use split-screen only when needed
For Markdown and HTML files:
- Open file in preview
- Enable split-screen mode
- Edit on one side, preview on the other
- Scroll synchronization
- Unsaved Changes - Shows indicator for unsaved changes
- Save Prompt - Prompts before closing unsaved files
- Auto-save - Optional auto-save feature
-
Save -
Cmd/Ctrl + S -
Close -
Cmd/Ctrl + W - Reopen - Reopen recently closed files
- Reload - Reload file from disk
- Workspace Files - Best experience with workspace-associated files
- Large Files - Very large files may take time to load
- Binary Files - Some binary formats have limited preview
- Save Changes - Always save before closing
- Version Control - Changes are tracked via Git
- Backup - Important files should be backed up
- ๐ File Management - File organization use cases
- ๐ค AI Assistants Guide - Using assistants with preview
- โ FAQ - Common questions and troubleshooting
Need Help?
- ๐ Report Issues
- ๐ฌ Community Discussions
- ๐ Complete Documentation
Preview and edit files seamlessly without leaving AionUi! ๐
Welcome to the comprehensive AionUi documentation! Find everything you need to configure, use, and master AionUi.
- โ๏ธ LLM Configuration
- ๐ค Multi-Agent Mode Setup
- ๐จ Image Generation Setup
- ๐ MCP Configuration
- ๐ป WebUI Configuration(by Commond Line)
- ๐ AionUi Remote Internet Access Tutorial
- ๐ Remote Agent Setup
- ๐ค DingTalk Bot Setup
- โฐ Scheduled Tasks Guide
- ๐ ๏ธ AI Assistants & Skills Ecosystem
- ๐ Preview Panel Guide
- ๐ File Management
- ๐ Excel Smart Processing
- ๐ Smart Information Gathering
- ๐ Local Knowledge Base Application
- โ AI Learning Assistant
- โ๏ธ Writing & Content Creation
- ๐ Getting Started
- โ๏ธ LLM Configuration
- ๐ค Multi-Agent Mode Setup
- ๐ Remote Agent Setup
- ๐จ Image Generation
- ๐ MCP Configuration
- ๐ WebUI Configuration
- โฐ Scheduled Tasks
- ๐ ๏ธ AI Assistants & Skills
- ๐ Preview Panel
- โ FAQ