Commit Graph

70 Commits

Author SHA1 Message Date
sam hoang
2e56149620 feat: add 'Add To Context' code action
- Add new command registration and menu item
- Add new code action type and command ID
- Add support prompt config for adding code to context
- Add message handling in webview for setting chat box content
- Add logic to append selected code to existing chat input
2025-01-30 17:23:12 +07:00
sam hoang
35a7e433f2 refactor: centralize editor utilities and unify command handling
- Create EditorUtils class to centralize shared editor functionality
- Remove duplicated code between CodeActionProvider and command handlers
- Improve command handling to work consistently for both code actions and direct commands
- Add better type safety and error handling for editor operations
2025-01-30 16:26:44 +07:00
Matt Rubens
61fb096f96 Add new/existing task for all three actions 2025-01-27 09:40:04 -05:00
sam hoang
85c49d8eff feat(code-actions): add "Fix Code in Current Task" action
Adds ability to fix code within the context of an active task instead of starting a new one. This allows for more efficient workflow when already working with Roo.

Add new FIX_IN_CURRENT_TASK code action and command
Enhance ClineProvider to support context-aware code fixing
Update tests to verify new action functionality
2025-01-27 14:24:26 +07:00
sam hoang
a7ae6c46d1 feat: user prompt in code action 2025-01-24 22:19:10 +07:00
Matt Rubens
3257dffa56 Review feedback 2025-01-23 15:56:24 -08:00
sam hoang
149e86ed0a fix comment on pr 2025-01-24 00:51:35 +07:00
sam hoang
22907a0578 refactor: consolidate prompt functionality into support-prompt module
- Move code action prompts from core/prompts to shared/support-prompt
- Migrate enhance prompt functionality from modes to support-prompt
- Add UI for managing code action prompts in PromptsView
- Update types and interfaces for better prompt management
2025-01-24 00:46:19 +07:00
sam hoang
7845791720 feat(code-actions): add user input and customizable templates
Add ability to provide custom input when using code actions
Make code action templates customizable and resettable
Refactor code action handling for better maintainability
Add state management for utility prompts
2025-01-24 00:46:19 +07:00
sam hoang
1b26f91ea7 refactor(code-actions): implement parameter object pattern for prompt generation
- Extract prompt templates into constants
- Add createPrompt utility for template string handling
- Consolidate code action handling in ClineProvider
- Update tests to use new parameter object pattern
2025-01-24 00:46:19 +07:00
sam hoang
02a8eb96f1 feat: integrate code actions into extension activation 2025-01-24 00:46:19 +07:00
Matt Rubens
b8e0aa0cde Custom modes 2025-01-21 09:39:54 -05:00
Matt Rubens
431ff57435 Merge pull request #405 from vincentsong/feature/vscode-debug
feat: Added VS Code debugging support with webview build and changed output channel from 'Cline' to 'Roo-Cline'
2025-01-18 10:27:42 -05:00
vincentsong
95b6326ca0 feat: Added VS Code debugging support with webview build 2025-01-18 09:41:54 +11:00
Matt Rubens
60a0a824b9 Prettier backfill 2025-01-17 14:11:28 -05:00
Frank
a102ba520b feat: add pkce 2025-01-15 08:20:20 +11:00
Matt Rubens
75e308b033 Add a screen for custom prompts 2025-01-13 22:45:14 -05:00
Matt Rubens
be3d8a6166 Incorporate MCP changes (#93)
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-12-12 23:16:39 -05:00
lloydchang
b9c274add2 feat(extension.ts): use rocket icon (#34) 2024-12-01 17:31:58 -05:00
Matt Rubens
6b8f9f7a45 Expose a list of allowed auto-execute commands (#31) 2024-12-01 15:34:36 -05:00
Matt Rubens
cafc2852ca Allow Roo-Cline to coexist with Cline (#23)
Co-authored-by: ColemanRoo <michael.coleman@roo.vet>
2024-11-28 14:25:41 -05:00
Mark Percival
93e70c62f1 Chore: Prettier for consistant formatting (#794)
* Chore: Pretier for consistant formatting

- TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes.

* Revert prettier config

* Run npm install

* Fix prettier config and ignore package lock

* Run format

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
2024-11-21 13:13:54 -08:00
Saoud Rizwan
739a7e070e Refactor assets 2024-10-09 01:49:59 -04:00
Saoud Rizwan
31f5fabc54 Refactor cline-diff 2024-10-09 01:49:59 -04:00
Saoud Rizwan
5190d30ae3 Refactor commands 2024-10-09 01:49:59 -04:00
Saoud Rizwan
6502b3cb24 Rename Cline 2024-10-09 01:49:59 -04:00
Saoud Rizwan
385c54d3c0 Refactor Cline 2024-10-09 01:49:59 -04:00
Saoud Rizwan
83ce17db11 Refactor ClaudeDev 2024-10-09 01:49:58 -04:00
Saoud Rizwan
23d664be8e Fixes 2024-10-09 01:49:58 -04:00
Saoud Rizwan
fe052d28df Refactor ClineProvider 2024-10-09 01:49:58 -04:00
Saoud Rizwan
da3aa7a658 Refactor ClineProvider 2024-10-09 01:49:58 -04:00
Saoud Rizwan
40f7942801 Refactor out of utils 2024-09-24 11:45:12 -04:00
Saoud Rizwan
7c21a4c833 Refactor out of utils 2024-09-24 11:36:37 -04:00
Saoud Rizwan
4a1f61d4b5 Refactor ClaudeDev 2024-09-24 11:02:53 -04:00
Saoud Rizwan
3466859536 Refactor exports 2024-09-24 10:51:31 -04:00
Saoud Rizwan
69e681ebce Normalize all file paths to posix format when presenting to AI or user 2024-09-22 19:20:10 -04:00
Saoud Rizwan
d4f15de199 Add API for other extensions to interact with Claude Dev 2024-09-22 10:42:05 -04:00
Saoud Rizwan
5fbb335bb6 Refactor 2024-09-19 16:49:31 -04:00
Saoud Rizwan
ee8e64eece Only initialize puppeteer if user mentions url 2024-09-18 17:42:15 -04:00
Saoud Rizwan
e3144996fb Add URL scraping with puppeteer 2024-09-18 17:28:25 -04:00
Saoud Rizwan
82d631d0ca Open new tab on the right if no files open 2024-09-12 04:11:19 -04:00
Saoud Rizwan
076acf736e Use robot icon in terminal and panels; update banner icon 2024-09-08 11:35:46 -04:00
Saoud Rizwan
e47d6e87f4 Remove logs 2024-09-03 21:12:29 -04:00
Saoud Rizwan
ce71ed7cba Add oauth button to openrouter 2024-09-03 04:49:44 -04:00
Saoud Rizwan
3926d1c528 Make diff view left side readonly so users don't accidentally edit it 2024-08-31 07:38:33 -04:00
Saoud Rizwan
9d5090397f Make diff view editable 2024-08-31 05:56:38 -04:00
Saoud Rizwan
843ef29a07 Remove Kodu provider 2024-08-27 21:38:01 -04:00
Saoud Rizwan
df4e8e7afc Add Kodu provider 2024-08-26 01:00:00 -04:00
Saoud Rizwan
f6fd76823b Add Maestro login button 2024-08-26 01:00:00 -04:00
Saoud Rizwan
d1437e6d2d Add task history 2024-08-17 08:29:30 -04:00