Releases: movebit/sui-move-analyzer
sui-move-analyzer v1.1.8
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
Changelogs:
2024/6/12 1.1.8
Added support for diagnostics in the 2024.beta version. This feature, based on lexical and syntactic analysis, can provide alerts for the following issues.
- Invalid address.
- Invalid struct declaration.
- Invalid visibility modifier.
- Invalid constant declaration.
- Invalid use declaration.
- Duplicate ability declaration.
- Unexpected token
Specific diagnostic formats can be found in the current repository under changelog/1.1.8.
TODO
- [move 2024][alpha] Method syntax #13933
- [move-enums] Base PR for Move Enums in VM/IR #15086
- move-compiler] Add positional struct fields #14073
- [move-compiler] Add positional struct fields #14073
- [move-compiler] Add support for postfix ability declarations #13782
- Cgswords/loop value break #14030
- [move compiler] add named blocks #14577
- [move-compiler] Add public struct type support to the parser #13917
- [move] Added restricted identifier syntax. New 2024 keywords #14108
Full Changelog: v1.1.5...v1.1.8
sui-move-analyzer v1.1.5
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
Changelogs:
2024/4/23 1.1.5
For this version of the plugin, it mainly supports syntax parsing for different versions of compilers.
That is to say, while allowing users to open X Move projects in VS Code (using 2024 beta syntax), they can also open Y Move projects in the same window's working directory (using 2023 or earlier syntax). No manual adjustments are required for the plugin; It seamlessly integrates with different syntax versions.
For about 60% of the syntax in the 2024 beta, our plugin can provide functions such as jump/find references normally, and there are also about 40% of new syntax that we are gradually supporting. It will take about a month to meet with everyone.
TODO
- [move 2024][alpha] Method syntax #13933
- [move-enums] Base PR for Move Enums in VM/IR #15086
- move-compiler] Add positional struct fields #14073
- [move-compiler] Add positional struct fields #14073
- [move-compiler] Add support for postfix ability declarations #13782
- Cgswords/loop value break #14030
- [move compiler] add named blocks #14577
- [move-compiler] Add public struct type support to the parser #13917
- [move] Added restricted identifier syntax. New 2024 keywords #14108