([\s\S]*?)<\/functions>/)?.[1]?.trim()
+ : tool.content;
+
+ return (
+ <>
+
+ {toolIcon("symbol-method")}
+
+ {message.type === "ask" ? (
+ {tool.symbol} }}
+ values={{ symbol: tool.symbol }}
+ />
+ ) : (
+ {tool.symbol} }}
+ values={{ symbol: tool.symbol }}
+ />
+ )}
+
+
+
+ vscode.postMessage({ type: "openFile", text: tool.path })}>
+ {tool.path?.startsWith(".") && .}
+
+ {removeLeadingNonAlphanumeric(tool.path ?? "") + "\u200E"}
+
+
+
+
+
+ {readFunctionContent && (
+
+ )}
+ >
+ )
default:
return null
}
diff --git a/webview-ui/src/components/chat/ChatView.tsx b/webview-ui/src/components/chat/ChatView.tsx
index 90cdd14753..f1925aa7ce 100644
--- a/webview-ui/src/components/chat/ChatView.tsx
+++ b/webview-ui/src/components/chat/ChatView.tsx
@@ -678,6 +678,8 @@ const ChatViewComponent: React.ForwardRefRenderFunction{{regex}}:",
"didSearch": "Roo searched this directory for {{regex}}:"
},
+ "codeOperations": {
+ "wantsToFindReferences": "Roo wants to find references to {{symbol}}:",
+ "didFindReferences": "Roo found references to {{symbol}}:",
+ "wantsToReadFunction": "Roo wants to read the function {{symbol}}:",
+ "didReadFunction": "Roo read the function {{symbol}}:"
+ },
"commandOutput": "Command Output",
"response": "Response",
"arguments": "Arguments",