Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
附加组件图标

codefmt — format automation code 版本历史 - 3 个版本

codefmt — format automation code 作者: Josh Ozuna

目前尚无评分
0 / 5 星
5
0
4
0
3
0
2
0
1
0
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 许可证 发布

    下载 Firefox 并安装扩展
    下载文件
  • 较早版本

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

    下载文件
  • 版本 1.0.0

    发布于 2026年3月31日 - 18.81 KB
    适用于 firefox 142.0 及更高版本, android 142.0 及更高版本

    源代码遵循 MIT 许可证 发布

    下载文件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

浏览器

  • Desktop
  • Mobile
  • Enterprise

产品

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

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。