All notable changes to the "vscode-cashscript" extension will be documented in this file.
- Add support for CashScript v0.13.0
- Add
do-while,whileandforloops (grammar, highlighting, snippets, completions) - Add
unsafe_int,unsafe_bool,unsafe_byte,unsafe_bytescasts - Add
toPaddedBytes(int, int)global function - Add
<<,>>bitshift and~invert operators - Remove the two-argument
bytes(value, size)padding cast (replaced bytoPaddedBytes)
- Add
- Add support for CashScript v0.11.0
- Add
slicefunction - Rename
tx.ageproperty tothis.age - Add some missing completions & highlighting
- Fix hover information for contract and function signatures
- Add
These releases were published incorrectly. All changes that were meant to be in v0.5.0 are published in v0.5.2.
- Add support for CashScript v0.10.0
- Add
console.logstatements - Add optional failure message to
requirestatements - Add support for underscores in numbers and scientific notation
- Add
- Add support for CashScript v0.8.0
- Add token properties to inputs and outputs
- Remove 'OutputX' in favour of 'LockingBytecodeX'
- Remove 'Compilation' functionality due to ESM incompatibilties
- Small fixes and refactors
- Update examples
- Add support for CashScript v0.7.0
- Updated to new Native Introspection functionality
- Added tuple destructuring
- Added new
constantkeyword - Added
*operator
- Added tx to completion provider and syntax highlighting
- added byte alias for bytes1
- Fixed language grammar to have comprehensive highlighting
- Added janky HoverProvider for variable types
- Added split/reverse to hover provider
Initial release of vscode-cashscript. Features:
- Syntax Highlighting
- Auto-Completion
- Snippets
- Linting
- Contract Compilation (press F5 or click "Compile Contract") Would like to implement tests and other sustainability features before bumping version