Skip to content

Conversation

@samhvw8
Copy link
Contributor

@samhvw8 samhvw8 commented Mar 19, 2025

Context

This will make context menu & terminal menu more organize

Implementation

Screenshots

before after
image image
image image

How to Test

Get in Touch


Important

Add submenus to package.json to organize context and terminal menus for better command grouping.

  • Submenus:
    • Added submenus to package.json for roo-code.contextMenu and roo-code.terminalMenu.
    • roo-code.contextMenu includes commands: explainCode, fixCode, improveCode, addToContext.
    • roo-code.terminalMenu includes commands: terminalAddToContext, terminalFixCommand, terminalExplainCommand, terminalFixCommandInCurrentTask, terminalExplainCommandInCurrentTask.
  • Menus:
    • Updated editor/context and terminal/context to use new submenus roo-code.contextMenu and roo-code.terminalMenu respectively.

This description was created by Ellipsis for 900beb2. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Mar 19, 2025

⚠️ No Changeset found

Latest commit: 299126d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. Enhancement New feature or request labels Mar 19, 2025
],
"main": "./dist/extension.js",
"contributes": {
"submenus": [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Internationalization: Consider internationalizing submenu labels to support multilingual users. This aligns with our standards for all user-facing strings.

Copy link
Collaborator

@cte cte left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@samhvw8
Copy link
Contributor Author

samhvw8 commented Mar 19, 2025

@cte @mrubens should we apply i18n for context menu ?

https://github.com/microsoft/vscode-extension-samples/tree/main/l10n-sample

@mrubens
Copy link
Collaborator

mrubens commented Mar 20, 2025

@cte @mrubens should we apply i18n for context menu ?

https://github.com/microsoft/vscode-extension-samples/tree/main/l10n-sample

Wasn't obvious to me how to do it, but makes sense if it's possible! I think we can look into it as a follow-up.

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Mar 20, 2025
@mrubens mrubens merged commit 38d8a3d into RooCodeInc:main Mar 20, 2025
10 checks passed
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Mar 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants