Version history from v0.1.0 to this day.
- Fixes issue with the colon breaking hl in test attributes
- Adds back the
self
first argument name highlighting
- Now escaped characters are highlighted correctly
- ASCII literal no longer consumes all line
- Adds support for u16, u32 and u256
- Lessens the amount of hl in
use
statement
- adds back
address <name> {}
block
- finally fixed the bug with 'public native' functions
- allows highlighting
public(friend) native entry fun name();
- extends macros, allowing any text inside
- adds
entry
functions - allows import statement inside function body
- fixes the issue with
native public
Fixes highlighting for:
- public native functions (native keyword)
- mutable references in function return values: &mut
- allow #[test] and #[test_only] macros on functions and modules
- add module namespaces highlights
- allow "public native" function hl as well as "native public"
- improve struct type hl in function signatures and structs
- highlight all-uppercase symbols as consts (e.g. MY_CUSTOM_CONST)
- follow Move 1.4 changes, add phantom keyword
- adds support for named addresses
- legacy mentiones of Libra are changed to Diem
friend <mod>;
statement support addedpublic(friend)
andpublic(script)
visibilities added- no more resources, only abilities, this also affects generic constraints:
Examples:
use 0x1::A;
friend A;
struct Token has store, key, copy, drop { /* ... */ }
public(friend) fun do<T: copy> { /* ... */ }
- vscode-mode-ide is now vscode-move-syntax
- recent language features added
- all previous syntaxes left as is
- mvir support removed