multiversx / mx-ide-vscode

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

Do not natively handle "erdjs-snippets" anymore #65

Closed andreibancioiu closed 1 year ago

andreibancioiu commented 1 year ago

Do not natively handle erdjs-snippets anymore. Instead, one has to manually adjust .vscode/settings.json to include:

"mochaExplorer.cwd": "node-package-with-snippets",
"mochaExplorer.mochaPath": "node-package-with-snippets/node_modules/mocha"

Motivation: we'd like to remove Mocha-based erdjs-snippets from the position of "first-class citizen" in MultiversX IDE. They will still be supported, but not deeply integrated into the Visual Studio Code extension. See documentation - will be updated ~20 January 2023. Alternatively, some developers might want to use sdk-js snippets based on JS testing frameworks other than Mocha, or they may use pytest together with mx-sdk-py-*. Furthermore, rust-based interaction snippets are in the works (see mx-sdk-rs).

Related: