Skip to content

Commit

Permalink
Merge pull request #65 from multiversx/do-not-natively-handle-erdjs-s…
Browse files Browse the repository at this point in the history
…nippets

Do not natively handle "erdjs-snippets" anymore
  • Loading branch information
andreibancioiu committed Jan 19, 2023
2 parents 3eaa67f + 09b2671 commit 19441e6
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 39 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-elrond-ide",
"displayName": "MultiversX IDE",
"description": "MultiversX IDE for developing Smart Contracts",
"version": "0.15.0",
"version": "0.16.0",
"publisher": "Elrond",
"repository": {
"type": "git",
Expand Down Expand Up @@ -108,11 +108,6 @@
"command": "multiversx.stopTestnet",
"title": "Stop Testnet",
"category": "multiversx"
},
{
"command": "multiversx.setupJavaScriptSnippets",
"title": "Setup JavaScript snippets",
"category": "multiversx"
}
],
"menus": {
Expand Down
10 changes: 0 additions & 10 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import * as vscode from 'vscode';
import { Uri } from 'vscode';
import { SmartContract, SmartContractsViewModel } from './contracts';
import { Environment } from './environment';
import * as javaScriptSnippets from "./javaScriptSnippets";
import * as errors from './errors';
import { Feedback } from './feedback';
import * as presenter from "./presenter";
Expand Down Expand Up @@ -41,8 +40,6 @@ export async function activate(context: vscode.ExtensionContext) {
vscode.commands.registerCommand("multiversx.newFromTemplate", newFromTemplate);
vscode.commands.registerCommand("multiversx.refreshContracts", async () => await refreshViewModel(contractsViewModel));

vscode.commands.registerCommand("multiversx.setupJavaScriptSnippets", setupJavaScriptSnippets);

Environment.set();
}

Expand Down Expand Up @@ -202,10 +199,3 @@ async function ensureInstalledBuildchains() {
let languages = workspace.getLanguages();
await sdk.ensureInstalledBuildchains(languages);
}

async function setupJavaScriptSnippets() {
let destinationFolder = await presenter.askOpenFolder(`Please select a destination for "js-snippets":`);
if (destinationFolder) {
await javaScriptSnippets.setup(destinationFolder);
}
}
21 changes: 0 additions & 21 deletions src/javaScriptSnippets.ts

This file was deleted.

0 comments on commit 19441e6

Please sign in to comment.