multiversx / mx-ide-vscode

💻 VS Code extension for developing MultiversX Smart Contracts - Rust, C and C++.
MIT License
70 stars 36 forks source link

"Run Contract Snippets" option no longer appears #78

Closed qwertyAn23 closed 1 year ago

qwertyAn23 commented 1 year ago

On Ubuntu 22.04.2 LTS VS Code 1.77.3: after the last update to the VS Code extension the Run Contracts Snippets option disappeared for me when right clicking on snippets.sh.

andreibancioiu commented 1 year ago

Hello,

We have removed this in v0.18.0: https://github.com/multiversx/mx-ide-vscode/releases/tag/v0.18.0

Rust-based contract interaction snippets will arise soon. We've dropped support for invoking bash interaction snippets directly from the VSCode extension (user interface).

Existing bash-based interaction snippets can still be invoked from the CLI, as follows (example for the adder contract):

export PROJECT=$(pwd)
export USERS=~/multiversx-sdk/testwallets/latest/users

source interactions/testnet.snippets.sh && deploy
source interactions/testnet.snippets.sh && add