diff --git a/.changeset/real-rockets-sort.md b/.changeset/real-rockets-sort.md new file mode 100644 index 0000000..3b24461 --- /dev/null +++ b/.changeset/real-rockets-sort.md @@ -0,0 +1,5 @@ +--- +"roo-cline": patch +--- + +Add a button to copy markdown out of the chat diff --git a/README.md b/README.md index 67efe0b..a1a4b5e 100644 --- a/README.md +++ b/README.md @@ -35,6 +35,7 @@ Give it a try and let us know what you think in the reddit: https://www.reddit.c - Sound effects for feedback - Option to use browsers of different sizes and adjust screenshot quality - Quick prompt copying from history +- Copy markdown from chat messages - OpenRouter compression support - Includes current time in the system prompt - Uses a file system watcher to more reliably watch for file system changes diff --git a/webview-ui/src/components/chat/ChatRow.tsx b/webview-ui/src/components/chat/ChatRow.tsx index 21b5c34..3089a13 100644 --- a/webview-ui/src/components/chat/ChatRow.tsx +++ b/webview-ui/src/components/chat/ChatRow.tsx @@ -1,6 +1,6 @@ import { VSCodeBadge, VSCodeButton, VSCodeProgressRing } from "@vscode/webview-ui-toolkit/react" import deepEqual from "fast-deep-equal" -import React, { memo, useEffect, useMemo, useRef } from "react" +import React, { memo, useEffect, useMemo, useRef, useState } from "react" import { useSize } from "react-use" import { ClineApiReqInfo, @@ -551,7 +551,7 @@ export const ChatRowContent = ({ case "text": return (