Doplňky do prohlížeče Firefox
  • Rozšíření
  • Motivy vzhledu
    • pro Firefox
    • Slovníky a jazykové balíčky
    • Ostatní stránky prohlížeče
    • Doplňky pro Android
Přihlásit se
Ikona doplňku

Historie doplňku Code Formatter - 3 verze

Code Formatter od sparkle_64

Zatím nehodnoceno
Hodnocení: 0 z 5
5
0
4
0
3
0
2
0
1
0
Historie doplňku Code Formatter - 3 verze
  • Se starými verzemi opatrně! Tyto verze jsou zde dostupné jen pro testovací a referenční účely.Používat byste vždy měli nejnovější verzi doplňku.

  • Nejnovější verze

    Verze 1.8.0

    Vydáno 22. pro 2025 – 453,89 KB
    Funguje s: firefox 109.0a1 a novější
    Code 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 innerHTML usage
    • 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

    Zdrojový kód zveřejněn pod licencí Licence MIT

    Stáhnout Firefox a nainstalovat toto rozšíření
    Stáhnout soubor
  • Starší verze

    Verze 1.7.0

    Vydáno 23. lis 2025 – 726,17 KB
    Funguje s: firefox 109.0a1 a novější
    *** 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

    Zdrojový kód zveřejněn pod licencí Licence MIT

    Stáhnout soubor
  • Verze 1.6.2

    Vydáno 6. lis 2025 – 734,76 KB
    Funguje s: firefox 109.0a1 a novější

    Zdrojový kód zveřejněn pod licencí Licence MIT

    Stáhnout soubor
Přejít na domovskou stránku Mozilly

Počet doplňků

  • O nás
  • Blog doplňků pro Firefox
  • Workshop tvorby rozšíření
  • Pro vývojáře
  • Pravidla pro vývojáře
  • Blog komunity
  • Fórum
  • Nahlásit chybu
  • Příručka recenzenta

Prohlížeče

  • Desktop
  • Mobile
  • Enterprise

Produkty

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Ochrana soukromí
  • Cookies
  • Právní informace

Není-li uvedeno jinak, obsah této stránky je šířen pod licencí Creative Commons Uveďte původ-Zachovejte licenci 3.0 nebo jakoukoli novější verzí.