Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jan 19, 2023

Conversation

andreibancioiu
Copy link
Contributor

@andreibancioiu andreibancioiu commented Jan 19, 2023

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:

@andreibancioiu andreibancioiu self-assigned this Jan 19, 2023
@andreibancioiu andreibancioiu marked this pull request as ready for review January 19, 2023 11:44
claudiu725
claudiu725 previously approved these changes Jan 19, 2023
@andreibancioiu andreibancioiu merged commit 19441e6 into master Jan 19, 2023
@andreibancioiu andreibancioiu deleted the do-not-natively-handle-erdjs-snippets branch January 19, 2023 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants