Back to Documentation
Features
Explore all the capabilities Tidy Code offers. From basic text editing to advanced
PDF viewing, AI assistance, and large file support - find everything you need to
work efficiently with any file type. Features include JSON/XML/YAML/TOML formatting and conversion,
CSV preview, Markdown rendering, VIM mode, multi-cursor editing, regex search, and
code completion with LSP support. Handle large files up to 100MB with WebAssembly-powered performance.
Core Features
File Management
- New File: Click "New" button (web) or Cmd/Ctrl + N (desktop)
- Open File: Click "Open File" button (web) or Cmd/Ctrl + O (desktop)
- Save: Save current file with Cmd/Ctrl + S (both platforms)
- Save As: Save with new name using Cmd/Ctrl + Shift + S (both platforms)
- Close Tab: Click X on tab (web) or right-click context menu (both platforms)
- Recent Files: Access recently opened files via menu (desktop only)
- File Explorer: Click "Explorer" button to view all open tabs in tree structure
Text Editing
- Undo/Redo: Standard Cmd/Ctrl + Z and Cmd/Ctrl + Shift + Z
- Cut/Copy/Paste: Use system shortcuts or Edit menu
- Select All: Cmd/Ctrl + A selects entire document
- Multi-Cursor: Hold Cmd/Ctrl and click to add cursors
- Line Operations: Duplicate, move, or delete entire lines
- Auto-Pairing: Automatic closing of brackets, quotes, and tags
Search & Replace
- Open Panel: Click "Find/Replace" button in toolbar (both platforms)
- Search: Enter text in search field to find matches
- Replace: Use replace field to substitute text
- Regex Support: Toggle regex mode for pattern matching
- Case Sensitive: Toggle case sensitivity in search
- Results Panel: View all matches with surrounding context
- Navigation: Jump between matches with arrow buttons
Specialized Tools
📕 PDF Viewer
- Full Document Navigation: Page-by-page navigation with prev/next buttons and jump-to-page
- Thumbnail Sidebar: Visual page thumbnails for quick navigation
- Document Outline: View document bookmarks and table of contents
- Text Search: Search PDF content with keyword highlighting in yellow
- Zoom Controls: Fit-to-width, fit-to-page, and custom zoom levels (50%-200%)
- Focus Mode: Hide all UI panels for distraction-free reading (Eye icon button)
- Page Virtualization: Efficient rendering for large PDFs (100+ pages)
- Download & Print: Save PDF or send to printer from viewer
- Theme Support: Dark and light themes for comfortable viewing
🎨 SVG Viewer
- Pan & Zoom: Interactive pan and zoom with mouse drag
- Zoom Controls: Zoom in, zoom out, and reset view buttons
- Fit-to-Screen: Automatically fit SVG to viewport
- Download: Save SVG file from viewer
- Theme Support: Adapts to dark/light theme
- Large File Support: Efficiently handles complex SVG graphics
📝 JSON Editor
- Format: One-click formatting with proper indentation
- Validate: Real-time syntax validation with error highlighting
- Structure View: Navigate JSON tree structure
- Minify: Compress JSON by removing whitespace
- Collapse/Expand: Fold sections of large JSON files
🔖 XML Editor
- Format: Auto-format XML with proper nesting
- Validate: Check XML syntax and structure
- Tag Completion: Auto-close XML tags
- Structure View: Tree view of XML document
- Attribute Editing: Easy attribute management
📄 YAML Editor
- Format: One-click formatting with configurable indentation
- Validate: Real-time syntax validation with detailed error messages
- Structure View: Navigate YAML hierarchy with tree view
- Auto-Detection: Automatically detects YAML content from patterns
- Line Width Control: Configurable line width for formatting
⚙️ TOML Editor
- Format: One-click formatting with optional key sorting
- Validate: Real-time syntax validation with helpful tips
- Structure View: View sections, tables, and key-value pairs
- Browser Compatible: Works in all modern browsers via smol-toml
- Date/Time Support: Full support for TOML date and time values
🔄 Format Converter
- Bidirectional: Convert between JSON, XML, YAML, and TOML
- New Tab Output: Converted content opens in new tab (preserves original)
- Smart Adjustments: Auto-fix XML tag names (spaces → underscores)
- TOML Compatibility: Handle null values and root array wrapping
- Adjustment Tracking: See all changes made during conversion
- Line Navigation: Click adjustments to jump to affected lines
📊 CSV Editor
- Preview: Visual table preview of CSV data
- Column Management: Add, remove, or reorder columns
- Delimiter Detection: Auto-detect comma, tab, or semicolon
- Header Row: Toggle first row as header
- Export: Export to various formats
📄 Markdown Editor
- Live Preview: Rendered HTML preview updates as you type
- Toggle Editor: Switch between preview-only and split view
- Default Collapsed: Editor collapsed by default for distraction-free reading
- Full Markdown Support: Complete markdown syntax rendering
- Smooth Transitions: Intuitive toggle controls with visual feedback
🔀 Diff Viewer
- File Upload: Compare two files side by side
- Paste Content: Compare pasted text or code
- Current Tab: Load current editor content automatically
- Color Coding: Green for additions, red for deletions
- Line-by-Line: Precise comparison highlighting
Advanced Features
Large File Support
- WASM-Powered: Handle files up to 20MB+ with WebAssembly technology
- Efficient Indexing: Fast line indexing for million-line files
- Virtual Scrolling: Smooth navigation through massive files
- Fast Search: Quick search operations on large files
- Memory Efficient: WASM memory storage reduces React state overhead
- Auto-Optimization: Syntax highlighting disabled for files >10MB
AI IntegrationWeb + Desktop
- OpenAI: GPT-4 and GPT-3.5 Turbo support (both platforms)
- Claude: Anthropic Claude models integration (both platforms)
- Groq: Fast cloud AI processing (both platforms)
- WebLLM: Browser-based AI models (web only)
- Ollama: Local AI models for privacy (desktop only)
- Code Suggestions: AI-powered code completion
- Error Fixes: Automatic error detection and fixes
- Explanations: Get AI explanations of complex code
VIM Mode
- Modern Toggle Switch: iOS-style toggle control with sliding animation
- Modal Editing: Normal, insert, and visual modes
- Standard Keybindings: Classic VIM commands
- Navigation: h, j, k, l movement
- Commands: Full VIM command support
- Auto-Focus: Editor focuses automatically when enabled
- Mode Indicator: Visual badge showing current mode (N/I/V)
LSP Support
- Code Intelligence: IntelliSense-style completions
- Hover Info: Documentation on hover
- Diagnostics: Real-time error checking
- Go to Definition: Jump to symbol definitions
- Language Support: JavaScript, TypeScript, Python, and more
Terminal IntegrationDesktop Only
- Built-in Terminal: Integrated terminal panel
- Toggle Panel: Click the Terminal icon button in toolbar
- Multiple Terminals: Create multiple terminal instances
- Full Shell: Access to complete shell environment
- Working Directory: Terminal opens in your current project folder
Platform-Specific Features
Web Version FeaturesWeb
- No Installation: Access directly from your browser
- Cross-Platform: Works on any device with a modern browser
- Auto-Save: Browser-based local storage for your work
- WebLLM AI: Browser-based AI models (no API key needed)
- Groq API: Fast cloud-based AI processing
- Share via URL: Easy sharing and collaboration
Desktop App FeaturesDesktop
- Native File System: Direct access to local files and folders
- Integrated Terminal: Full shell environment within the app
- Ollama Support: Local AI models for complete privacy
- System Tray: Quick access from system menu
- Native Dialogs: Platform-native file dialogs
- Offline Mode: Full functionality without internet
- Better Performance: Optimized for desktop with lower memory usage
- System Integration: File type associations and context menus
Keyboard Shortcuts
Note: Desktop app supports additional native shortcuts. Web version relies on toolbar buttons for most actions.
Available on Both Platforms:
Save File
Cmd/Ctrl + S
Save As
Cmd/Ctrl + Shift + S
Undo
Cmd/Ctrl + Z
Redo
Cmd/Ctrl + Shift + Z
Select All
Cmd/Ctrl + A
Copy
Cmd/Ctrl + C
Cut
Cmd/Ctrl + X
Paste
Cmd/Ctrl + V
Desktop Only:
New File
Cmd/Ctrl + N
Open File
Cmd/Ctrl + O