Skip to content

tinker-code-formatter

A code formatter plugin for TINKER that formats source code with support for multiple languages and configurable indentation.

Screenshot

Features

  • Multiple languages — supports JavaScript, TypeScript, HTML, CSS, and JSON
  • Configurable indentation — choose from no indentation, 2, 4, 6, or 8 spaces
  • Code editor — Monaco-based editor with syntax highlighting and line numbers
  • Quick actions — format, copy, paste, and clear with one click
  • Bilingual UI — supports English and Chinese

Usage

  1. Select the language of your code from the dropdown
  2. Paste or type code into the editor
  3. Choose your preferred indentation width
  4. Click the format button to format the code
  5. Use the copy button to copy the formatted result to the clipboard

Released under the AGPL-3.0 License.