GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • dprint
  • Docs
  • Plugins
  • Playground
  • Sponsor
  • GitHub ↗

This view

  • Original page
  • New address

GeezerVison is showing dprint.dev — Creating a Plugin - dprint - Code Formatter

// plugins

Creating a Plugin

As outlined in plugins, there are Wasm plugins and process plugins.

  • Wasm plugins can be written in any language that supports compiling to a WebAssembly file (.wasm) (highly recommended)
  • Process plugins can be written in any language that supports compiling to an executable.

Links:

  • Wasm plugin development
  • Process plugin development

Note that plugins only need to conform to a general interface that doesn't prescribe a certain way of implementing the formatter. In Rust, you may want to use the dprint-core crate's formatting feature as it provides a better starting point for implementing a formatter. See an overview here

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.