continue-custom/extension/scripts
2023-06-26 13:54:26 -07:00
..
.continue_env_installed catch error from proxy server 2023-06-26 13:54:26 -07:00
.gitignore copying from old repo 2023-05-23 23:45:12 -04:00
chroma.py copying from old repo 2023-05-23 23:45:12 -04:00
continuedev-0.1.1-py3-none-any.whl catch error from proxy server 2023-06-26 13:54:26 -07:00
index.py copying from old repo 2023-05-23 23:45:12 -04:00
install_from_source.py small script corrections 2023-05-31 20:55:52 -04:00
query.py copying from old repo 2023-05-23 23:45:12 -04:00
README.md Edits and braindumps in docs 2023-06-01 23:47:38 -04:00
replace.py copying from old repo 2023-05-23 23:45:12 -04:00
requirements.txt whl update 2023-06-03 18:38:01 +00:00
run_continue_server.py copying from old repo 2023-05-23 23:45:12 -04:00
typegen.js copying from old repo 2023-05-23 23:45:12 -04:00
update.py copying from old repo 2023-05-23 23:45:12 -04:00

Scripts

Whenever we need python to run on the client side, we include a script file at the top level of this folder. All other files that are not to be run directly as a script (utility files) should be in a subfolder of scripts. You can call one of these scripts from the VS Code extension using the runPythonScript function in bridge.ts.

When the extension is activated (activate function in src/extension.ts), we call setupPythonEnv, which makes the virtual environment and downloads all the necessary requirements as given in requirements.txt. With this in mind, be sure to run pip freeze > requirements.txt whenever you add a new requirement.