mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
- Add EditorContext to ContextMenuOptionType enum - Update WebviewMessage types to support requestEditorContext and editorContext - Implement backend handler in webviewMessageHandler.ts using EditorUtils.getEditorContext() - Update ExtensionMessage interface to include editorContext field - Add Current Editor Context option to context menu with edit icon - Implement ChatTextArea handling for editor context selection and formatting - Update tests to reflect new context menu option count - Fix React Hook dependencies for proper linting The feature allows users to type @ in chat, select 'Current Editor Context' to insert a formatted mention containing current file context, line numbers, and selected text from the active editor. |
||
|---|---|---|
| .. | ||
| 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 | ||