diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-06-01 23:47:38 -0400 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-06-01 23:47:38 -0400 |
commit | fd446b55cb32d35ab9d0a0b535af26c366154388 (patch) | |
tree | 966be93fcd5b99ddd3afe89b368e8d5a5df4db73 /extension/react-app/src | |
parent | 2bc683a8205b60a19555cf09cd4a5d113d7ea476 (diff) | |
download | sncontinue-fd446b55cb32d35ab9d0a0b535af26c366154388.tar.gz sncontinue-fd446b55cb32d35ab9d0a0b535af26c366154388.tar.bz2 sncontinue-fd446b55cb32d35ab9d0a0b535af26c366154388.zip |
Edits and braindumps in docs
Diffstat (limited to 'extension/react-app/src')
-rw-r--r-- | extension/react-app/src/components/CodeMultiselect.tsx | 2 | ||||
-rw-r--r-- | extension/react-app/src/components/VSCodeFileLink.tsx | 4 | ||||
-rw-r--r-- | extension/react-app/src/tabs/chat/MessageDiv.tsx | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/extension/react-app/src/components/CodeMultiselect.tsx b/extension/react-app/src/components/CodeMultiselect.tsx index 626ae42f..c0ab9400 100644 --- a/extension/react-app/src/components/CodeMultiselect.tsx +++ b/extension/react-app/src/components/CodeMultiselect.tsx @@ -135,7 +135,7 @@ function formatFileRange( )} (lines ${rangeInFile.range.start.line + 1}-${ rangeInFile.range.end.line + 1 })`; - // +1 because VSCode Ranges are 0-indexed + // +1 because VS Code Ranges are 0-indexed } //#endregion diff --git a/extension/react-app/src/components/VSCodeFileLink.tsx b/extension/react-app/src/components/VSCodeFileLink.tsx index 6219654d..12ce5af8 100644 --- a/extension/react-app/src/components/VSCodeFileLink.tsx +++ b/extension/react-app/src/components/VSCodeFileLink.tsx @@ -1,7 +1,7 @@ import React from "react"; import { postVscMessage } from "../vscode"; -function VSCodeFileLink(props: { path: string; text?: string }) { +function VS CodeFileLink(props: { path: string; text?: string }) { return ( <a href={`file://${props.path}`} @@ -14,4 +14,4 @@ function VSCodeFileLink(props: { path: string; text?: string }) { ); } -export default VSCodeFileLink; +export default VS CodeFileLink; diff --git a/extension/react-app/src/tabs/chat/MessageDiv.tsx b/extension/react-app/src/tabs/chat/MessageDiv.tsx index ab632220..d7c79721 100644 --- a/extension/react-app/src/tabs/chat/MessageDiv.tsx +++ b/extension/react-app/src/tabs/chat/MessageDiv.tsx @@ -6,7 +6,7 @@ import { defaultBorderRadius, secondaryDark, } from "../../components"; -import VSCodeFileLink from "../../components/VSCodeFileLink"; +import VS CodeFileLink from "../../components/VS CodeFileLink"; import ReactMarkdown from "react-markdown"; import "../../highlight/dark.min.css"; import hljs from "highlight.js"; |