From bcaafbf057f118422e4302362c92228ebb1ce6fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Mon, 10 Dec 2018 11:34:11 +0000 Subject: [PATCH] Rename to vscode-babelfish MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Carlos Martín --- README.md | 4 ++-- ext-src/extension.ts | 4 ++-- package.json | 10 +++++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c0425d5..ba42924 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# VSCode UAST Viewer +# VS Code Babelfish Extension **NOTE**: work in progress @@ -31,5 +31,5 @@ Right now you can only run production bits (`yarn build`) in the webview. For ev To package locally, install [`vsce`](https://github.com/Microsoft/vscode-vsce) and run: ```bash -vsce package --baseContentUrl https://github.com/carlosms/vscode-uast-viewer --baseImagesUrl https://github.com/carlosms/vscode-uast-viewer +vsce package --baseContentUrl https://github.com/carlosms/vscode-babelfish --baseImagesUrl https://github.com/carlosms/vscode-babelfish ``` \ No newline at end of file diff --git a/ext-src/extension.ts b/ext-src/extension.ts index a8104e6..b9f852d 100644 --- a/ext-src/extension.ts +++ b/ext-src/extension.ts @@ -4,7 +4,7 @@ import * as request from "request"; export function activate(context: vscode.ExtensionContext) { context.subscriptions.push( - vscode.commands.registerCommand("uast-viewer.start", () => { + vscode.commands.registerCommand("babelfish.start", () => { ReactPanel.createOrShow(context.extensionPath); }) ); @@ -128,7 +128,7 @@ class ReactPanel { if (error != null) { let msg = `Error parsing the file contents: ${error}`; if (error.code === "ECONNREFUSED") { - msg += `.\nPlease make sure bblfshd and bblfsh-json-proxy are running. See https://github.com/carlosms/vscode-uast-viewer`; + msg += `.\nPlease make sure bblfshd and bblfsh-json-proxy are running. See https://github.com/carlosms/vscode-babelfish`; } vscode.window.showErrorMessage(msg); diff --git a/package.json b/package.json index a4829b0..cfcb525 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "vscode-uast-viewer", - "homepage": "https://github.com/carlosms/vscode-uast-viewer", + "name": "vscode-babelfish", + "homepage": "https://github.com/carlosms/vscode-babelfish", "repository": { "type": "git", - "url": "https://github.com/carlosms/vscode-uast-viewer.git" + "url": "https://github.com/carlosms/vscode-babelfish.git" }, "version": "0.0.1", "engines": { @@ -11,13 +11,13 @@ }, "publisher": "carlosms", "activationEvents": [ - "onCommand:uast-viewer.start" + "onCommand:babelfish.start" ], "main": "./build/ext-src/extension.js", "contributes": { "commands": [ { - "command": "uast-viewer.start", + "command": "babelfish.start", "title": "Parse UAST", "category": "Bblfsh" }