Skip to content

aptos-move-analyzer-release-v0.5.0

Latest
Compare
Choose a tag to compare
@robinlzw robinlzw released this 06 May 09:07
· 1 commit to release/aptos-move-analyzer since this release

This update includes changes to extension settings, so it is necessary to update both the LSP server and the Vscode plugin to version 0.3.0 simultaneously.
__This update needs update vscode to v1.85 or higher.

Features

Here are some of the features of the sui-move-analyzer Visual Studio Code extension. To see them, open a Move source file (a file with a .move file extension) and if the opened Move source file is located within a buildable project (a Move.toml file can be found in one of its parent directories), the following advanced features will also be available:

  • compiler diagnostics
  • go to definition
  • go to references
  • type on hover
  • autocomplete
  • outline View
  • formatter for move file

Changelogs:

2024/5/6 v0.5.0

  1. Once both the language server and the aptos-move-analyzer plugin from the vscode plugin marketplace are installed, the formatting feature is not enabled by default. You will need to enable the corresponding feature in the settings(Preferences > Settings*. Search for the aptos-move-analyzer setting).

  2. To format a .move file, simply open it and right-click to select 'Format Document' for a one-click formatting.

  3. If you wish to study or raise an issue regarding the formatting feature, you can visit the repository at https://github.com/movebit/movefmt/tree/develop.