codefmt — format automation code 版本紀錄 - 3 個版本
codefmt — format automation code 作者: Josh Ozuna
codefmt — format automation code 版本紀錄 - 3 個版本
小心舊版本!這些版本只是提供來測試與參考用。您應該隨時用最新版的附加元件。
最新版本
版本 1.2.0
發行於 2026年4月6日 - 26.64 KB適用於 firefox 142.0 與更新版本v1.2.0 adds platform-aware formatting for HubSpot Design Manager, security improvements, and a refreshed popup UI.
New features:- the extension now detects which platform you're on and shows it in the popup menu with a direct link to configure settings on codefmt.dev
- HubSpot Design Manager support: format module.html (HubL), module.css, and module.js files directly in the Design Manager editor
- CodeMirror 5 editor support (used by HubSpot Design Manager)
- content type auto-detection: the extension identifies whether your code is HubL, HTML, CSS, or JavaScript and routes it to the correct formatter
Security improvements:- bridge authentication prevents page scripts from accessing the editor bridge
- sender validation ensures only supported platform domains can trigger formatting
-payload validation with size limits enforced before sending to the API - request timeout (30 seconds) prevents hanging requests
Other changes:- updated extension name and description for better discoverability
- popup now shows the detected platform name and links to the corresponding codefmt.dev settings page
原始碼依照 MIT License 條款釋出
較舊版本
版本 1.1.0
發行於 2026年4月4日 - 24.19 KB適用於 firefox 142.0 與更新版本v1.1.0 — Firefox support, multi-editor engine, language detection- Added Firefox support via wrappedJSObject page access
- Added CodeMirror 6 support (Pipedream, n8n)
- Monaco editor write-back now works on Zapier (MAIN world bridge)
- Auto-detects JavaScript vs Python from editor language attributes
- Platform-aware defaults: Zapier JS (80w, single quotes), Python (88w, Ruff defaults)
- Settings sync from codefmt.dev
- Format via keyboard shortcut (Cmd/Ctrl+Shift+F) or popup button. Context menu available on platforms that don't override right-click.
原始碼依照 MIT License 條款釋出