diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-08-09 15:22:44 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-08-09 15:22:44 -0700 |
commit | c22268e7b686a7470c0d5a66265bd828e685acd4 (patch) | |
tree | 0256e40e28ef8e991dec3fdb64ddf7d05e3305e3 /extension/CONTRIBUTING.md | |
parent | c3d31f00bb589df1c83308b7d9d69ed51c31341a (diff) | |
parent | 6421ce4cd3f88abf4e108c2ec575467198449c4a (diff) | |
download | sncontinue-c22268e7b686a7470c0d5a66265bd828e685acd4.tar.gz sncontinue-c22268e7b686a7470c0d5a66265bd828e685acd4.tar.bz2 sncontinue-c22268e7b686a7470c0d5a66265bd828e685acd4.zip |
Merge branch 'main' of https://github.com/continuedev/continue
Diffstat (limited to 'extension/CONTRIBUTING.md')
-rw-r--r-- | extension/CONTRIBUTING.md | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/extension/CONTRIBUTING.md b/extension/CONTRIBUTING.md new file mode 100644 index 00000000..953b5e48 --- /dev/null +++ b/extension/CONTRIBUTING.md @@ -0,0 +1,19 @@ +# Continue VS Code Extension + +This is the Continue VS Code Extension. Its primary jobs are + +1. Implement the IDE side of the Continue IDE protocol, allowing a Continue server to interact natively in an IDE. This happens in `src/continueIdeClient.ts`. +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 run the extension + +See [Environment Setup](../CONTRIBUTING.md#environment-setup) + +# How to run and debug tests + +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 + +- We require vscode engine `^1.67.0` and use `@types/vscode` version `1.67.0` because this is the earliest version that doesn't break any of the APIs we are using. If you go back to `1.66.0`, then it will break `vscode.window.tabGroups`. |