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 许可证 发布
较早版本
版本 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 许可证 发布