/vscode-cashscript

vscode extension for cashscript, a language for developing smart contracts on the bch blockchain

Primary LanguageTypeScript

vscode-cashscript

Version Downloads Installs Rating

Vscode-cashscript provides tools that make it easier for developers to write smart contracts with cashscript.

example of vscode-cashscript

A special thank you to vscode-solidity which inspired much of the code structure!

Features

  • Syntax Highlighting
  • Auto-Completion
  • Snippets
  • Linting

Development Instructions

Press F5 or click the "Compile Contract" button in the top right. A json file containing the contract artifiact will be created in the same directory with the same name.

Clone the project

git clone https://github.com/nathanielCherian/vscode-cashscript

Install Dependencies

cd vscode-cashscript && npm i

Open the project in vscode.

code .

Press F5 anywhere to start the test window, open the examples folder to test out any '.cash' file. All relevent files are located within the /src directory.

Extension Settings

None available yet.

Known Issues

None available yet.

Release Notes

Check the changelog for past releases. Latest stable version:

0.2.0

  • Compatible with cashscript@0.7.0
    • Updated to new Native Introspection functionality
    • Added tuple destructuring
    • Added new constant keyword
    • Added '*' operator