From 5a51206f31d1c659aa57f3e52ee6018e04eb50ff Mon Sep 17 00:00:00 2001 From: Yiqiu Date: Thu, 25 Apr 2024 20:53:58 +0800 Subject: [PATCH 1/3] add Run Locally to README --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index b081df4..40af255 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,29 @@ This extension for VS Code brings Greptile's capabilities directly into your dev 3. Search for "Greptile". 4. Click "Install". +## Run Locally +1. Install dependencies +``` +npm run install:all +``` + +2. Build and start webview +``` +cd webview-ui +``` + +``` +npm run build:webview +npm run start:webview +``` + +3. Compile VS Code extension +``` +npm run compile +``` + +Then, press `F5` in `extension.ts` tab + ## Usage - Press CMD+L From 5617468f0e2f026cf57bfcb10e041564f398c49d Mon Sep 17 00:00:00 2001 From: Chewy <63976795+hyqshr@users.noreply.github.com> Date: Thu, 25 Apr 2024 21:12:39 +0800 Subject: [PATCH 2/3] Update README.md --- README.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/README.md b/README.md index 40af255..ac9820f 100644 --- a/README.md +++ b/README.md @@ -28,10 +28,6 @@ npm run install:all ``` 2. Build and start webview -``` -cd webview-ui -``` - ``` npm run build:webview npm run start:webview From 8130ce6326810d1dcb785ba1500d57386b706632 Mon Sep 17 00:00:00 2001 From: Yiqiu Date: Thu, 25 Apr 2024 21:34:41 +0800 Subject: [PATCH 3/3] Fix: output folder bug fix --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f33ba47..e12fd40 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "engines": { "vscode": "^1.75.0" }, - "main": "./dist/extension.js", + "main": "./out/extension.js", "contributes": { "views": { "greptileView": [