Tiện ích trình duyệt Firefox
  • Tiện ích mở rộng
  • Chủ đề
    • cho Firefox
    • Từ điển & gói ngôn ngữ
    • Các trang web trình duyệt khác
    • Tiện ích cho Android
Đăng nhập
Xem trước codefmt: code formatter and linter

codefmt: code formatter and linter bởi codefmt

format and lint javascript, python, and hubl in zapier, n8n, pipedream, make, and hubspot editors. powered by biome and ruff.

Có sẵn trên Firefox dành cho Android™Có sẵn trên Firefox dành cho Android™
0 (0 đánh giá)0 (0 đánh giá)
1 người dùng1 người dùng
Tải xuống Firefox và tải tiện ích mở rộng
Tải xuống tập tin
Quét mã QR để mở tiện ích mở rộng này trong Firefox dành cho Android

Siêu dữ liệu mở rộng

Ảnh chụp màn hình
No copy-paste. Format and lint code without leaving the platform.Turn messy JavaScript and Python into clean, consistent code in seconds.Format code your way with shortcuts, right-click actions, or the toolbar popup.Catch HubL syntax issues, deprecated tags, and template mistakes before publishing.No accounts, no telemetry, no stored code. Just formatting and linting.
Về tiện ích mở rộng này
SUMMARY:

format and lint javascript, python, and hubl in zapier, n8n, pipedream, make, and hubspot editors. powered by biome and ruff.

DESCRIPTION:

Format and lint your code directly inside automation platform editors. No copy-paste to VS Code or any other editor required.

Supported platforms:
  • Zapier (Code by Zapier action: JavaScript and Python)
  • n8n (Code nodes: JavaScript and Python, on n8n.io and n8n.cloud)
  • Pipedream (Code steps: JavaScript and Python)
  • Make (JavaScript code modules)
  • HubSpot Data Hub (custom code actions: JavaScript and Python)
  • HubSpot CMS / Design Manager (HubL templates with HTML and CSS contexts, plus module.js)

How it works:
  • Open a code editor on any supported platform.
  • Use any of three ways to format:
    • Click the codefmt icon in your browser toolbar, then press "format code". Every lint finding is listed right in the popup.
    • Right-click and select "Format with codefmt" (format only) or "Fix with codefmt" (format plus safe lint fixes plus organize imports).
    • Press Ctrl+Shift+F while your cursor is in the code editor. Same combo on Mac.
  • Your code is formatted and written back to the editor instantly.
  • A notification appears at the editor with the top 3 lint findings, each showing its line, rule, and message, errors first. Hover it to keep it open, click it or press Esc to dismiss.

Features:
  • Platform-aware formatting that understands each platform's code structure (async wrappers, globals, return styles, line-width conventions)
  • Auto-detects JavaScript, Python, and HubL (including HTML, CSS, and JavaScript contexts inside HubSpot Design Manager)
  • Instant lint diagnostics powered by oxlint for JavaScript and Ruff for Python, both Rust tools built for speed
  • JavaScript and TypeScript formatting powered by Biome, with Prettier-compatible output
  • Python formatting and linting powered by Ruff
  • HubL formatting and linting via a custom formatter built for HubSpot CMS templates
  • "Fix with codefmt" right-click action that applies safe Biome lint fixes and organize-imports in one pass
  • Configurable formatting: print width, quote style, semicolons, trailing commas, bracket spacing, arrow parens, JSX quote style, quote properties, bracket same line, and organize imports
  • Sync settings from codefmt.dev with one click. Configure on the web, use in the extension. Settings are kept per platform.
  • Keyboard shortcut: Ctrl+Shift+F, active while your cursor sits in the code editor
  • Light and dark theme, following your system by default
  • Per-tab badge shows "fmt" on supported sites so you know the extension is live
  • If Firefox's site access for the extension is off or gets revoked, the popup detects it and offers a one-click fix, and the badge shows "!" instead, so a silent extension is never a mystery
  • Works with Monaco and CodeMirror 5 / 6 editors, the engines used by all supported platforms
  • 50 KB code size limit per format request
  • 30 second request timeout with automatic retry on transient network failures

Privacy and data handling:
  • No accounts, no cookies, no tracking, no telemetry
  • Your formatting preferences are stored locally in your browser only
  • When you trigger a format, the code currently in your editor is sent over HTTPS to codefmt.dev/api/format, processed in memory, and returned formatted. Nothing is written to a database, logged, or shared with third parties.
  • The extension only runs on the supported platform domains listed above (plus codefmt.dev for the optional settings-sync feature)
  • Full privacy policy: https://codefmt.dev/privacy

Security:
  • Manifest V3 with minimal permissions (activeTab, contextMenus, storage, scripting)
  • Only the supported platform domains can trigger format requests
  • Every internal message is validated for sender identity and origin before any network call
  • Hardened content security policy on the extension pages
  • No remote code execution. All scripts are included in the extension package and are plain, human-readable JavaScript with no minification or build step.

Built on:
  • Biome (biomejs.dev): Rust-based, Prettier-compatible formatter that powers JavaScript and TypeScript output
  • oxlint (oxc.rs): a Rust-based JavaScript linter with a familiar rule set
  • Ruff (astral.sh/ruff): Rust-based Python formatter and linter used by major Python projects

Learn more:
  • Web formatter: https://codefmt.dev
  • About and support: https://codefmt.dev/about
  • Privacy policy: https://codefmt.dev/privacy
Được xếp hạng 0 (bởi 1 người dùng)
Đăng nhập để đánh giá tiện ích này
Chưa có xếp hạng nào

Đã lưu xếp hạng sao

5
0
4
0
3
0
2
0
1
0
Chưa có đánh giá
Quyền hạn và dữ liệu

Quyền hạn bắt buộc:

  • Truy cập dữ liệu của bạn cho các trang web trong tên miền zapier.com
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền n8n.io
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền n8n.cloud
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền pipedream.com
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền hubspot.com
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền make.com
  • Truy cập dữ liệu của bạn cho zapier.com
  • Truy cập dữ liệu của bạn cho n8n.io
  • Truy cập dữ liệu của bạn cho n8n.cloud
  • Truy cập dữ liệu của bạn cho pipedream.com
  • Truy cập dữ liệu của bạn cho hubspot.com
  • Truy cập dữ liệu của bạn cho make.com

Quyền hạn tùy chọn:

  • Truy cập dữ liệu của bạn cho các trang web trong tên miền zapier.com
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền n8n.io
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền n8n.cloud
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền pipedream.com
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền hubspot.com
  • Truy cập dữ liệu của bạn cho các trang web trong tên miền make.com
  • Truy cập dữ liệu của bạn cho zapier.com
  • Truy cập dữ liệu của bạn cho n8n.io
  • Truy cập dữ liệu của bạn cho n8n.cloud
  • Truy cập dữ liệu của bạn cho pipedream.com
  • Truy cập dữ liệu của bạn cho hubspot.com
  • Truy cập dữ liệu của bạn cho make.com
  • Truy cập dữ liệu của bạn cho codefmt.dev

Dữ liệu cần thu thập, theo nhà phát triển:

  • Nội dung trang web
Tìm hiểu thêm
Thêm thông tin
Liên kết tiện ích
  • Trang hỗ trợ
  • Email hỗ trợ
  • Sao chép ID tiện ích
Phiên bản
1.5.2
Kích cỡ
55,19 KB
Cập nhật gần nhất
3 ngày trước (14 Thg 08 2026)
Thể loại có liên quan
  • Phát triển Web
Giấy phép
Giấy phép MIT
Chính sách riêng tư
Đọc chính sách riêng tư của tiện ích này
Lịch sử các phiên bản
  • Xem tất cả phiên bản
Nhãn
  • dark mode
  • privacy
Thêm vào bộ sưu tập
Báo cáo tiện ích này
Đi đến trang chủ Mozilla

Tiện ích

  • Giới thiệu
  • Blog tiện ích Firefox
  • Extension Workshop
  • Trung tâm nhà phát triển
  • Chính sách nhà phát triển
  • Blog cộng đồng
  • Diễn đàn
  • Báo cáo một lỗi
  • Hướng dẫn đánh giá

Tải xuống

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Bản dựng mới nhất

  • Nightly
  • Beta

Firefox dành cho doanh nghiệp

  • Enterprise

Cộng đồng

  • Connect
  • Contribute
  • Developer

Theo dõi

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Riêng tư
  • Cookie
  • Pháp lý

Trừ trường hợp khác đã ghi chú, nội dung trên trang này được cấp phép theo giấy phép Creative Commons Attribution Share-Alike v3.0 hoặc bất kỳ phiên bản nào sau này. Android là thương hiệu của Google LLC.