Skip to content

Commit 465dd5b

Browse files
committed
feat: Adjust view header buttons for overflow menu
Move less frequently used actions into the VS Code overflow menu: - Keep visible: New Task, Prompts, Settings - Move to overflow: MCP Servers, History, Open in Editor, Account
1 parent f161c7d commit 465dd5b

File tree

2 files changed

+14
-329
lines changed

2 files changed

+14
-329
lines changed

package.json

Lines changed: 0 additions & 312 deletions
Original file line numberDiff line numberDiff line change
@@ -2,320 +2,8 @@
22
"name": "roo-code",
33
"packageManager": "[email protected]",
44
"engines": {
5-
"vscode": "^1.84.0",
65
"node": "20.19.2"
76
},
8-
"author": {
9-
"name": "Roo Code"
10-
},
11-
"repository": {
12-
"type": "git",
13-
"url": "https://github.com/RooVetGit/Roo-Code"
14-
},
15-
"homepage": "https://github.com/RooVetGit/Roo-Code",
16-
"categories": [
17-
"AI",
18-
"Chat",
19-
"Programming Languages",
20-
"Education",
21-
"Snippets",
22-
"Testing"
23-
],
24-
"keywords": [
25-
"cline",
26-
"claude",
27-
"dev",
28-
"mcp",
29-
"openrouter",
30-
"coding",
31-
"agent",
32-
"autonomous",
33-
"chatgpt",
34-
"sonnet",
35-
"ai",
36-
"llama",
37-
"roo code",
38-
"roocode"
39-
],
40-
"activationEvents": [
41-
"onLanguage",
42-
"onStartupFinished"
43-
],
44-
"main": "./dist/extension.js",
45-
"contributes": {
46-
"submenus": [
47-
{
48-
"id": "roo-code.contextMenu",
49-
"label": "%views.contextMenu.label%"
50-
},
51-
{
52-
"id": "roo-code.terminalMenu",
53-
"label": "%views.terminalMenu.label%"
54-
}
55-
],
56-
"viewsContainers": {
57-
"activitybar": [
58-
{
59-
"id": "roo-cline-ActivityBar",
60-
"title": "%views.activitybar.title%",
61-
"icon": "assets/icons/icon.svg"
62-
}
63-
]
64-
},
65-
"views": {
66-
"roo-cline-ActivityBar": [
67-
{
68-
"type": "webview",
69-
"id": "roo-cline.SidebarProvider",
70-
"name": ""
71-
}
72-
]
73-
},
74-
"commands": [
75-
{
76-
"command": "roo-cline.plusButtonClicked",
77-
"title": "%command.newTask.title%",
78-
"icon": "$(add)"
79-
},
80-
{
81-
"command": "roo-cline.mcpButtonClicked",
82-
"title": "%command.mcpServers.title%",
83-
"icon": "$(server)"
84-
},
85-
{
86-
"command": "roo-cline.promptsButtonClicked",
87-
"title": "%command.prompts.title%",
88-
"icon": "$(notebook)"
89-
},
90-
{
91-
"command": "roo-cline.historyButtonClicked",
92-
"title": "%command.history.title%",
93-
"icon": "$(history)"
94-
},
95-
{
96-
"command": "roo-cline.popoutButtonClicked",
97-
"title": "%command.openInEditor.title%",
98-
"icon": "$(link-external)"
99-
},
100-
{
101-
"command": "roo-cline.settingsButtonClicked",
102-
"title": "%command.settings.title%",
103-
"icon": "$(settings-gear)"
104-
},
105-
{
106-
"command": "roo-cline.helpButtonClicked",
107-
"title": "%command.documentation.title%",
108-
"icon": "$(question)"
109-
},
110-
{
111-
"command": "roo-cline.openInNewTab",
112-
"title": "%command.openInNewTab.title%",
113-
"category": "%configuration.title%"
114-
},
115-
{
116-
"command": "roo-cline.explainCode",
117-
"title": "%command.explainCode.title%",
118-
"category": "%configuration.title%"
119-
},
120-
{
121-
"command": "roo-cline.fixCode",
122-
"title": "%command.fixCode.title%",
123-
"category": "%configuration.title%"
124-
},
125-
{
126-
"command": "roo-cline.improveCode",
127-
"title": "%command.improveCode.title%",
128-
"category": "%configuration.title%"
129-
},
130-
{
131-
"command": "roo-cline.addToContext",
132-
"title": "%command.addToContext.title%",
133-
"category": "%configuration.title%"
134-
},
135-
{
136-
"command": "roo-cline.newTask",
137-
"title": "%command.newTask.title%",
138-
"category": "%configuration.title%"
139-
},
140-
{
141-
"command": "roo-cline.terminalAddToContext",
142-
"title": "%command.terminal.addToContext.title%",
143-
"category": "Terminal"
144-
},
145-
{
146-
"command": "roo-cline.terminalFixCommand",
147-
"title": "%command.terminal.fixCommand.title%",
148-
"category": "Terminal"
149-
},
150-
{
151-
"command": "roo-cline.terminalExplainCommand",
152-
"title": "%command.terminal.explainCommand.title%",
153-
"category": "Terminal"
154-
},
155-
{
156-
"command": "roo-cline.setCustomStoragePath",
157-
"title": "%command.setCustomStoragePath.title%",
158-
"category": "%configuration.title%"
159-
},
160-
{
161-
"command": "roo-cline.focusInput",
162-
"title": "%command.focusInput.title%",
163-
"category": "%configuration.title%"
164-
},
165-
{
166-
"command": "roo.acceptInput",
167-
"title": "%command.acceptInput.title%",
168-
"category": "%configuration.title%"
169-
}
170-
],
171-
"menus": {
172-
"editor/context": [
173-
{
174-
"submenu": "roo-code.contextMenu",
175-
"group": "navigation"
176-
}
177-
],
178-
"roo-code.contextMenu": [
179-
{
180-
"command": "roo-cline.addToContext",
181-
"group": "1_actions@1"
182-
},
183-
{
184-
"command": "roo-cline.explainCode",
185-
"group": "1_actions@2"
186-
},
187-
{
188-
"command": "roo-cline.improveCode",
189-
"group": "1_actions@3"
190-
}
191-
],
192-
"terminal/context": [
193-
{
194-
"submenu": "roo-code.terminalMenu",
195-
"group": "navigation"
196-
}
197-
],
198-
"roo-code.terminalMenu": [
199-
{
200-
"command": "roo-cline.terminalAddToContext",
201-
"group": "1_actions@1"
202-
},
203-
{
204-
"command": "roo-cline.terminalFixCommand",
205-
"group": "1_actions@2"
206-
},
207-
{
208-
"command": "roo-cline.terminalExplainCommand",
209-
"group": "1_actions@3"
210-
}
211-
],
212-
"view/title": [
213-
{
214-
"command": "roo-cline.plusButtonClicked",
215-
"group": "navigation@1",
216-
"when": "view == roo-cline.SidebarProvider"
217-
},
218-
{
219-
"command": "roo-cline.promptsButtonClicked",
220-
"group": "navigation@2",
221-
"when": "view == roo-cline.SidebarProvider"
222-
},
223-
{
224-
"command": "roo-cline.mcpButtonClicked",
225-
"when": "view == roo-cline.SidebarProvider"
226-
},
227-
{
228-
"command": "roo-cline.historyButtonClicked",
229-
"when": "view == roo-cline.SidebarProvider"
230-
},
231-
{
232-
"command": "roo-cline.popoutButtonClicked",
233-
"when": "view == roo-cline.SidebarProvider"
234-
},
235-
{
236-
"command": "roo-cline.settingsButtonClicked",
237-
"group": "navigation@3",
238-
"when": "view == roo-cline.SidebarProvider"
239-
},
240-
{
241-
"command": "roo-cline.helpButtonClicked",
242-
"when": "view == roo-cline.SidebarProvider"
243-
}
244-
],
245-
"editor/title": [
246-
{
247-
"command": "roo-cline.plusButtonClicked",
248-
"group": "navigation@1",
249-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
250-
},
251-
{
252-
"command": "roo-cline.promptsButtonClicked",
253-
"group": "navigation@2",
254-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
255-
},
256-
{
257-
"command": "roo-cline.mcpButtonClicked",
258-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
259-
},
260-
{
261-
"command": "roo-cline.historyButtonClicked",
262-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
263-
},
264-
{
265-
"command": "roo-cline.popoutButtonClicked",
266-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
267-
},
268-
{
269-
"command": "roo-cline.settingsButtonClicked",
270-
"group": "navigation@3",
271-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
272-
},
273-
{
274-
"command": "roo-cline.helpButtonClicked",
275-
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
276-
}
277-
]
278-
},
279-
"configuration": {
280-
"title": "%configuration.title%",
281-
"properties": {
282-
"roo-cline.allowedCommands": {
283-
"type": "array",
284-
"items": {
285-
"type": "string"
286-
},
287-
"default": [
288-
"npm test",
289-
"npm install",
290-
"tsc",
291-
"git log",
292-
"git diff",
293-
"git show"
294-
],
295-
"description": "%commands.allowedCommands.description%"
296-
},
297-
"roo-cline.vsCodeLmModelSelector": {
298-
"type": "object",
299-
"properties": {
300-
"vendor": {
301-
"type": "string",
302-
"description": "%settings.vsCodeLmModelSelector.vendor.description%"
303-
},
304-
"family": {
305-
"type": "string",
306-
"description": "%settings.vsCodeLmModelSelector.family.description%"
307-
}
308-
},
309-
"description": "%settings.vsCodeLmModelSelector.description%"
310-
},
311-
"roo-cline.customStoragePath": {
312-
"type": "string",
313-
"default": "",
314-
"description": "%settings.customStoragePath.description%"
315-
}
316-
}
317-
}
318-
},
3197
"scripts": {
3208
"preinstall": "node scripts/bootstrap.mjs",
3219
"prepare": "husky",

src/package.json

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -219,33 +219,29 @@
219219
"when": "view == roo-cline.SidebarProvider"
220220
},
221221
{
222-
"command": "roo-cline.mcpButtonClicked",
222+
"command": "roo-cline.marketplaceButtonClicked",
223223
"group": "navigation@2",
224224
"when": "view == roo-cline.SidebarProvider"
225225
},
226226
{
227-
"command": "roo-cline.marketplaceButtonClicked",
227+
"command": "roo-cline.settingsButtonClicked",
228228
"group": "navigation@3",
229229
"when": "view == roo-cline.SidebarProvider"
230230
},
231231
{
232-
"command": "roo-cline.historyButtonClicked",
233-
"group": "navigation@4",
232+
"command": "roo-cline.mcpButtonClicked",
234233
"when": "view == roo-cline.SidebarProvider"
235234
},
236235
{
237-
"command": "roo-cline.popoutButtonClicked",
238-
"group": "navigation@5",
236+
"command": "roo-cline.historyButtonClicked",
239237
"when": "view == roo-cline.SidebarProvider"
240238
},
241239
{
242-
"command": "roo-cline.accountButtonClicked",
243-
"group": "navigation@6",
240+
"command": "roo-cline.popoutButtonClicked",
244241
"when": "view == roo-cline.SidebarProvider"
245242
},
246243
{
247-
"command": "roo-cline.settingsButtonClicked",
248-
"group": "navigation@7",
244+
"command": "roo-cline.accountButtonClicked",
249245
"when": "view == roo-cline.SidebarProvider"
250246
}
251247
],
@@ -256,28 +252,29 @@
256252
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
257253
},
258254
{
259-
"command": "roo-cline.mcpButtonClicked",
255+
"command": "roo-cline.marketplaceButtonClicked",
260256
"group": "navigation@2",
261257
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
262258
},
263259
{
264-
"command": "roo-cline.marketplaceButtonClicked",
260+
"command": "roo-cline.settingsButtonClicked",
265261
"group": "navigation@3",
266262
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
267263
},
264+
{
265+
"command": "roo-cline.mcpButtonClicked",
266+
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
267+
},
268268
{
269269
"command": "roo-cline.historyButtonClicked",
270-
"group": "navigation@4",
271270
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
272271
},
273272
{
274-
"command": "roo-cline.accountButtonClicked",
275-
"group": "navigation@5",
273+
"command": "roo-cline.popoutButtonClicked",
276274
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
277275
},
278276
{
279-
"command": "roo-cline.settingsButtonClicked",
280-
"group": "navigation@6",
277+
"command": "roo-cline.accountButtonClicked",
281278
"when": "activeWebviewPanelId == roo-cline.TabPanelProvider"
282279
}
283280
]

0 commit comments

Comments
 (0)