Skip to content

A formatter for the SUI move language with development features.

License

Notifications You must be signed in to change notification settings

DaughterOfMars/move-formatter

Repository files navigation

SUI Development Move Formatter

This formatter exists because Mystenlabs has not yet created a formatter for Move code that uses the most up-to-date development features. This formatter aims to support:

  • Nested Use
  • Public Package
  • Postfix Abilities
  • Struct Type Visibility
  • Dot Call
  • Positional Fields
  • LetMut
  • Block Labels
  • Move 2024 Paths
  • No Parens Cast
  • Enum definitions
  • Match statements
  • Clever Assertions

Local installation for Visual Studio Code

yarn

Compile the binary: yarn build

Build the vsce (Visual Studio Code Extensions) package: yarn package

Debug run the extension: F5 output is visible in OUTPUT (next to the terminal) when selecting Log (Extension Host) at the top right

Install the extension: yarn install:local

About

A formatter for the SUI move language with development features.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published