diff options
author | Ty Dunn <ty@tydunn.com> | 2023-06-15 11:36:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 11:36:13 -0700 |
commit | cdd04fc41edc6af6321c6e992228a09210944634 (patch) | |
tree | e2a20544cfe316e1ca6f5c7471c85b7e98e047c1 /extension | |
parent | a947148bb726cda4bff68605661680e6041b0094 (diff) | |
parent | 9cf110602621f80d0971f698ee40e7d73d0fa2b7 (diff) | |
download | sncontinue-cdd04fc41edc6af6321c6e992228a09210944634.tar.gz sncontinue-cdd04fc41edc6af6321c6e992228a09210944634.tar.bz2 sncontinue-cdd04fc41edc6af6321c6e992228a09210944634.zip |
Merge pull request #98 from continuedev/slash-commands
adds /edit and /explain commands
Diffstat (limited to 'extension')
-rw-r--r-- | extension/package.json | 1 | ||||
-rw-r--r-- | extension/react-app/src/components/ComboBox.tsx | 2 | ||||
-rw-r--r-- | extension/src/README.md | 3 |
3 files changed, 2 insertions, 4 deletions
diff --git a/extension/package.json b/extension/package.json index 13cc92a2..c41c3565 100644 --- a/extension/package.json +++ b/extension/package.json @@ -111,7 +111,6 @@ "clientgen": "rm -rf src/client/ && npx @openapitools/openapi-generator-cli generate -i ../schema/openapi.json -g typescript-fetch -o src/client/ --additional-properties=supportsES6=true,npmVersion=8.19.2,typescriptThreePlus=true", "typegen": "node scripts/typegen.js", "rebuild": "electron-rebuild -v 19.1.8 node-pty", - "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "lint": "eslint src --ext ts", diff --git a/extension/react-app/src/components/ComboBox.tsx b/extension/react-app/src/components/ComboBox.tsx index 11d04974..ace0605e 100644 --- a/extension/react-app/src/components/ComboBox.tsx +++ b/extension/react-app/src/components/ComboBox.tsx @@ -105,7 +105,7 @@ const ComboBox = React.forwardRef((props: ComboBoxProps, ref) => { <div className="flex px-2" ref={divRef} hidden={!isOpen}> <MainTextInput disabled={props.disabled} - placeholder="Type instructions or a question. Highlighted code / the open file are used as context." + placeholder="Type '/' to see the list of available slash commands..." {...getInputProps({ onKeyDown: (event) => { if (event.key === "Enter" && (!isOpen || items.length === 0)) { diff --git a/extension/src/README.md b/extension/src/README.md index c46de79f..4969890f 100644 --- a/extension/src/README.md +++ b/extension/src/README.md @@ -20,9 +20,8 @@ 9. `cmd+shift+p` to look at developer console and select Continue commands -10. Every time you make changes to the code, you need to run `npm run compile` +10. 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 -11. If you run into a "command not found" error, try running `npm run rebuild` and then `npm run compile` ## Alternative: Install from source |