diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-14 03:24:46 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-14 03:24:46 -0700 |
commit | 612c4115a0c74b52b77956867e0f47a84eca98a9 (patch) | |
tree | af1176510dcc4ce368d1c40760c08ca2a1fc81b9 /extension/react-app/src/pages/gui.tsx | |
parent | c22670ba2122412eca3f2de1f270b5f113db7e25 (diff) | |
download | sncontinue-612c4115a0c74b52b77956867e0f47a84eca98a9.tar.gz sncontinue-612c4115a0c74b52b77956867e0f47a84eca98a9.tar.bz2 sncontinue-612c4115a0c74b52b77956867e0f47a84eca98a9.zip |
warn of large highlighted ranges, cmd+k->m
Diffstat (limited to 'extension/react-app/src/pages/gui.tsx')
-rw-r--r-- | extension/react-app/src/pages/gui.tsx | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/extension/react-app/src/pages/gui.tsx b/extension/react-app/src/pages/gui.tsx index 4ff260fa..57cebac3 100644 --- a/extension/react-app/src/pages/gui.tsx +++ b/extension/react-app/src/pages/gui.tsx @@ -95,11 +95,8 @@ function GUI(props: GUIProps) { name: "Welcome to Continue", hide: false, description: `- Highlight code and ask a question or give instructions -- Use \`cmd+k\` (Mac) / \`ctrl+k\` (Windows) to open Continue -- Use \`cmd+shift+e\` / \`ctrl+shift+e\` to open file Explorer -- Add your own OpenAI API key to VS Code Settings with \`cmd+,\` -- Use slash commands when you want fine-grained control -- Past steps are included as part of the context by default`, + - Use \`cmd+m\` (Mac) / \`ctrl+m\` (Windows) to open Continue + - Use \`/help\` to ask questions about how to use Continue`, system_message: null, chat_context: [], manage_own_chat_context: false, @@ -269,15 +266,17 @@ function GUI(props: GUIProps) { return ( <> <Onboarding /> - <TextDialog showDialog={showFeedbackDialog} - onEnter={(text) => { - client?.sendMainInput(`/feedback ${text}`); - setShowFeedbackDialog(false); - }} - onClose={() => { - setShowFeedbackDialog(false); - }} - message={feedbackDialogMessage} /> + <TextDialog + showDialog={showFeedbackDialog} + onEnter={(text) => { + client?.sendMainInput(`/feedback ${text}`); + setShowFeedbackDialog(false); + }} + onClose={() => { + setShowFeedbackDialog(false); + }} + message={feedbackDialogMessage} + /> <TopGUIDiv ref={topGuiDivRef} |