summaryrefslogtreecommitdiff
path: root/extension
diff options
context:
space:
mode:
authorNate Sesti <33237525+sestinj@users.noreply.github.com>2023-08-09 14:58:33 -0700
committerGitHub <noreply@github.com>2023-08-09 14:58:33 -0700
commitf79f815701c7c1ed04d1dfa84f61674d1ae1c5d9 (patch)
treed1583dd22a5bfb947b6ca951da0e3635d76c24e9 /extension
parentb59a8f51b09747130fcdb7970805c3b2829b49b6 (diff)
parentf4ba68d5ce26463e6337822f8bf70e55a2d471d3 (diff)
downloadsncontinue-f79f815701c7c1ed04d1dfa84f61674d1ae1c5d9.tar.gz
sncontinue-f79f815701c7c1ed04d1dfa84f61674d1ae1c5d9.tar.bz2
sncontinue-f79f815701c7c1ed04d1dfa84f61674d1ae1c5d9.zip
Merge pull request #358 from bra1nDump/environment-setup-documentation-update
Updated documentation for environment setup
Diffstat (limited to 'extension')
-rw-r--r--extension/CONTRIBUTING.md (renamed from extension/DEV_README.md)20
1 files changed, 4 insertions, 16 deletions
diff --git a/extension/DEV_README.md b/extension/CONTRIBUTING.md
index 3ad9cf68..953b5e48 100644
--- a/extension/DEV_README.md
+++ b/extension/CONTRIBUTING.md
@@ -6,25 +6,13 @@ This is the Continue VS Code Extension. Its primary jobs are
2. Open the Continue React app in a side panel. The React app's source code lives in the `react-app` directory. The panel is opened by the `continue.openContinueGUI` command, as defined in `src/commands.ts`.
3. Run a Continue server in the background, which connects to both the IDE protocol and the React app. The server is launched in `src/activation/environmentSetup.ts` by calling Python code that lives in `server/` (unless extension settings define a server URL other than localhost:65432, in which case the extension will just connect to that).
-## How to debug the VS Code Extension
+# How to run the extension
-1. Clone the Continue repo
+See [Environment Setup](../CONTRIBUTING.md#environment-setup)
-2. Open a VS Code window with the `continue` directory as your workspace
+# How to run and debug tests
-3. Package and then start the FastAPI server by following instructions outlined in the `Continue Server` section of the `continuedev/README.md`
-
-4. Open a VS Code window with the `extension` directory as your workspace
-
-5. Run `npm run package`
-
-6. Open `src/activation/activate.ts` file (or any TypeScript file)
-
-7. Press `F5` on your keyboard to start `Run and Debug` mode
-
-8. `cmd+shift+p` to look at developer console and select Continue commands
-
-9. Every time you make changes to the code, you need to run `npm run esbuild` unless you make changes inside of `react-app` and then you need to run `npm run build` from there
+After following the setup in [Environment Setup](../CONTRIBUTING.md#environment-setup) you can run `npm run test` in the command line or the `Server + Tests (VSCode)` launch configuration in VS Code to debug tests + server.
## Notes