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
Lint and format your code directly within the platform, eliminating the need for copy and pasting.Instantly transform ugly Python and JavaScript scripts into pristine, uniform code.Use the toolbar popup, right-click menus, or keyboard shortcuts to format code according to your preferences.Spot template errors, outdated elements, and HubL coding mistakes prior to going live.Zero sign-ups, zero data collection, zero saved snippets. Purely styling and error-checking.
Về tiện ích mở rộng này
SUMMARY:

Lint and format JavaScript, Python, and HubL directly inside your automation tool's built-in development window, backed by Ruff and Biome.

DETAILS:

Clean up and check your code right inside automation workflows without needing to bounce over to VS Code or any other editor.

Supported environments:
  • Zapier (using Code by Zapier steps for Python and JavaScript)
  • n8n (for JavaScript and Python code blocks on n8n.cloud, n8n.io, or self-hosted instances)
  • Pipedream (JavaScript and Python code actions)
  • Make (JavaScript modules)
  • HubSpot Data Hub (custom Python and JavaScript code blocks)
  • HubSpot Design Manager / CMS (HubL templates featuring HTML/CSS blocks alongside module.js)

Workflow:
  • Launch any code workspace on a compatible service.
  • Trigger formatting using any of these three methods:
  • Click the browser extension toolbar icon for codefmt and choose "format code" to see all lint errors directly in the menu.
  • Use the right-click context menu and choose "Format with codefmt" (pure formatting) or "Fix with codefmt" (formatting, safe lint repairs, and import sorting).
  • Hit Ctrl+Shift+F (or the Mac equivalent) while focused inside the editor.
  • The tool processes your text and updates the editor automatically.
  • A popup notification displays the top 3 lint warnings (prioritizing errors), showing the exact line number, rule violated, and message. Hover to pin the alert, or click/press Esc to dismiss it.

Core Capabilities:
  • Context-aware formatting tailored to each platform's specific execution structure (including handling of global variables, return habits, line lengths, and async envelopes)
  • Automatic detection of Python, JavaScript, and HubL (including nested HTML, CSS, and JS contexts within HubSpot CMS)
  • Rapid lint analysis driven by Ruff for Python and oxlint for JavaScript—both high-performance Rust utilities
  • JS and TS formatting powered by Biome, delivering Prettier-compatible styling
  • Python linting and formatting handled entirely by Ruff
  • HubL support via a bespoke template formatter designed for HubSpot CMS
  • Right-click "Fix with codefmt" action that cleans imports and resolves safe Biome linter warnings in a single sweep
  • Deep customization options: target print width, semicolon usage, quote types, trailing commas, bracket spacing, arrow function parentheses, JSX quote preferences, object property quoting, same-line brackets, and import organization
  • One-click settings sync via codefmt.dev. Manage preferences in your browser, apply them in the extension. Profiles are maintained independently per platform.
  • Global shortcut (Ctrl+Shift+F) active whenever your cursor is inside an editor field
  • Self-hosted n8n support: type your instance URL in the extension panel, and Firefox will prompt for targeted permission. Exact domain matching ensures that removing an entry immediately revokes its access.
  • Light and dark themes that inherit your operating system preference automatically
  • A dynamic tab badge displays "fmt" on active domains so you always know the tool is running
  • If Firefox permission is disabled or lost, the extension flags this with a "!" badge and provides an instant one-click remedy in the popup, eliminating guesswork
  • Fully compatible with CodeMirror (versions 5 and 6) and Monaco editors used across all supported platforms
  • Maximum file payload of 50 KB per formatting request
  • 30-second timeout threshold equipped with automatic retries for temporary connection drops

Data Practices & Privacy:
  • Zero tracking, telemetry, cookies, or user accounts required
  • Formatting rules and preferences live exclusively in your local browser storage
  • Submitting code transmits it via HTTPS to codefmt.dev/api/format, where it is handled entirely in RAM and sent back cleaned up. No logs, database records, or third-party sharing occur.
  • Operation is strictly restricted to the listed automation domains (plus codefmt.dev solely for preference synchronization)
  • Complete policy statement available at: https://codefmt.dev/privacy

Safety Measures:
  • Built on Manifest V3 using minimal required permissions (scripting, storage, activeTab, contextMenus)
  • Only approved domains can initiate formatting requests
  • Incoming internal messages undergo strict origin and sender validation prior to any network activity
  • Strict Content Security Policy enforced across all extension windows
  • Zero remote code loading. Every script is bundled locally as plain, readable JavaScript with no obfuscation or build steps.

Under the Hood:
  • Biome (biomejs.dev): Rust-engineered, Prettier-aligned layout engine for JavaScript and TypeScript
  • oxlint (oxc.rs): Swift JavaScript checker sharing a familiar rule catalog
  • Ruff (astral.sh/ruff): High-speed Python linting and formatting suite relied on by major software projects

Resources:
  • Web-based interface: https://codefmt.dev
  • Support and background info: https://codefmt.dev/about
  • Privacy documentation: 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.6.1
Kích cỡ
63,65 KB
Cập nhật gần nhất
18 ngày trước (20 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.