Firefox 瀏覽器附加元件
  • 擴充套件
  • 佈景主題
    • 用於 Firefox
    • 字典與語言套件
    • 其他瀏覽器網站
    • Android 版的附加元件
登入
附加元件圖示

Code Formatter 版本紀錄 - 2 個版本

Code Formatter 作者: sparkle_64

目前沒有評分
0 顆星,滿分 5 顆星
5
0
4
0
3
0
2
0
1
0
Code Formatter 版本紀錄 - 2 個版本
  • 小心舊版本!這些版本只是提供來測試與參考用。您應該隨時用最新版的附加元件。

  • 最新版本

    版本 1.7.0

    發行於 2025年11月23日 - 726.17 KB
    適用於 firefox 109.0a1 與更新版本
    *** 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

    原始碼依照 MIT License 條款釋出

    下載 Firefox 並安裝擴充套件
    下載檔案
  • 較舊版本

    版本 1.6.2

    發行於 2025年11月6日 - 734.76 KB
    適用於 firefox 109.0a1 與更新版本

    原始碼依照 MIT License 條款釋出

    下載檔案
前往 Mozilla 官網

附加元件

  • 關於
  • Firefox 附加元件部落格
  • 擴充套件工作坊
  • 開發者交流中心
  • 開發者政策
  • 社群部落格
  • 討論區
  • 回報 Bug
  • 評論撰寫指南

瀏覽器

  • Desktop
  • Mobile
  • Enterprise

產品

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • 隱私權
  • Cookie
  • 法律資訊

除另有註明外,本站內容皆採用創用 CC 姓名標示—相同方式分享條款 3.0 或更新版本授權大眾使用。