Skip to content

Commit

Permalink
Rename to vscode-babelfish
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Martín <carlos.martin.sanchez@gmail.com>
  • Loading branch information
carlosms committed Dec 10, 2018
1 parent 3034525 commit bcaafbf
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# VSCode UAST Viewer
# VS Code Babelfish Extension

**NOTE**: work in progress

Expand Down Expand Up @@ -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
```
4 changes: 2 additions & 2 deletions ext-src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
})
);
Expand Down Expand Up @@ -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);
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"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": {
"vscode": "^1.23.0"
},
"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"
}
Expand Down

0 comments on commit bcaafbf

Please sign in to comment.