mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
- Add CurrentEditorSelection to ContextMenuOptionType enum - Implement handler in webviewMessageHandler to retrieve selected text - Add hasEditorSelection state tracking in ClineProvider - Monitor editor selection changes and notify webview - Update ChatTextArea to show option when text is selected - Add proper UI rendering in ContextMenu component - Add translation keys for the new feature - Fix test mocks for onDidChangeTextEditorSelection - Fix ESLint warning by adding missing dependency to useMemo This feature allows users to easily include selected text from their editor as context in their prompts using the @ mention system, similar to other AI coding assistants. Fixes #8078 |
||
|---|---|---|
| .. | ||
| audio | ||
| public | ||
| src | ||
| .gitignore | ||
| components.json | ||
| eslint.config.mjs | ||
| index.html | ||
| package.json | ||
| tsconfig.json | ||
| turbo.json | ||
| vite.config.ts | ||
| vitest.config.ts | ||
| vitest.setup.ts | ||