Lịch sử phiên bản Code Formatter - 3 phiên bản
Code Formatter bởi sparkle_64
Lịch sử phiên bản Code Formatter - 3 phiên bản
Hãy cẩn thận với các phiên bản cũ! Các phiên bản này được hiển thị cho mục đích thử nghiệm và tham khảo.Bạn luôn luôn phải sử dụng phiên bản mới nhất của một tiện ích.
Phiên bản mới nhất
Phiên bản 1.8.0
Đã phát hành 22 Thg 12 2025 - 453,89 KBHoạt động với firefox 109.0a1 và lớn hơnCode Formatter Extension v1.8.0
Released: December 22, 2025
Version: 1.8.0
🚀 What's New in v1.8.0
✨ New Features- Background Formatting - Large files now format instantly without freezing the browser
- Advanced Search Panel - Integrated Find/Replace with Regex
- Code Folding - Collapse/Expand All buttons for easier navigation
- Theme Toggle - Quick Sun/Moon toggle to switch between Light/Dark modes
- Auto-Theme Detection - Automatically matches your system's Dark/Light mode preference
🔧 Performance Improvements- 95% Bundle Size Reduction - Background script reduced from 2.2MB to 107KB
- Dynamic Code Loading - Prettier and plugins loaded on-demand only when needed
🛡️ Security & Compliance- Firefox Security Review Passed - Eliminated all unsafe
innerHTMLusage - Safe DOM Manipulation - Replaced dangerous HTML injection with secure DOM APIs
- HTML Sanitization - Implemented proper sanitization for user-generated content
- Third-Party Library Isolation - Prettier completely removed from main bundle
🎨 User Experience- Visual Refresh - New Modern 'Logo Blue' theme for all buttons and panels
- Better Error Handling - Robust fallback mechanisms for malformed code
- Enhanced Stability - More reliable message passing between scripts
🐛 Bug Fixes- View-Source Pages Support - Extension now works on Firefox's source view (
view-source:protocol) - Content Script Reliability - Switched to declarative content scripts for better loading
- Prettier Integration - Fixed dynamic import errors and bundling issues
- Cross-Page Compatibility - Improved support for data URLs and various page types
Mã nguồn được phát hành dưới dạng Giấy phép MIT
Phiên bản cũ hơn
Phiên bản 1.7.0
Đã phát hành 23 Thg 11 2025 - 726,17 KBHoạt động với firefox 109.0a1 và lớn hơn*** Changelog *** - [1.7.0] - 2025-11-22
** Added **- Configuration Panel: New options page accessible via Firefox Add-ons > Code Formatter > Preferences
- Indentation settings (2/4 spaces or tabs)
- Quote style preferences (single/double quotes)
- Line wrap length configuration
- Theme selection (Dracula, GitHub Light, Solarized Light, Material)
- Line wrapping toggle
- Font size adjustment (12-20px)
- Extended Beautification Support:
- HTML formatting using Prettier
- XML formatting using Prettier
- Multiple Syntax Highlighting Themes:
- Dracula (Dark) - default
- GitHub Light
- Solarized Light
- Material
- Search Functionality: Integrated CodeMirror search with Ctrl+F support
- Keyboard Shortcuts:
- Ctrl+S: Switch between original and formatted views
- Ctrl+Shift+C: Copy formatted code
- Ctrl+D: Download formatted code
- Minification Toggle: Added minify button in toolbar (placeholder for future implementation)
- Line Wrapping Control: Toggle long line wrapping in options
- Font Size Adjustment: Customizable font sizes for better readability
- Enhanced Language Detection:
- Added C++ detection patterns
- Improved patterns for all supported languages with more keywords and syntax recognition
- Better JSX/TSX component detection
- Enhanced plain text code block identification
- Multiple detection patterns per language with priority system
Improved- Error Handling: Robust error handling for malformed code with graceful fallbacks
- File Detection: Stronger detection algorithms for all supported languages
- JavaScript: Added async/await, DOM methods, Promise patterns
- TypeScript: Added interface, type, enum detection
- Python: Added control structures, built-in functions
- Go: Added goroutine, channel patterns
- Rust: Added macro, derive patterns
- Java: Added System.out.println, main method detection
- C#: Added LINQ, async patterns
- YAML: Added version fields, list structures
- Markdown: Added code blocks, inline formatting
- C++: Added templates, namespaces, standard library usage
- Plain Text Detection: Enhanced recognition of code in plain text pages
- Beautification Options: Configurable formatting with user preferences
- User Experience: Better accessibility with keyboard navigation and customizable display
Technical- Added Prettier integration for HTML/XML formatting
- Implemented chrome.storage for settings persistence
- Enhanced CodeMirror extensions (search, themes, line wrapping)
- Improved regex patterns for language detection
- Added priority-based detection system
Fixed- Better handling of malformed JSON and code parsing errors
- Improved detection accuracy to reduce missed files
- More reliable language identification from content patterns
Mã nguồn được phát hành dưới dạng Giấy phép MIT
Phiên bản 1.6.2
Đã phát hành 6 Thg 11 2025 - 734,76 KBHoạt động với firefox 109.0a1 và lớn hơnMã nguồn được phát hành dưới dạng Giấy phép MIT