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
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