mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 21:01:06 -05:00
Use robot icon in terminal and panels; update banner icon
This commit is contained in:
@@ -67,7 +67,11 @@ export function activate(context: vscode.ExtensionContext) {
|
||||
localResourceRoots: [context.extensionUri],
|
||||
})
|
||||
// TODO: use better svg icon with light and dark variants (see https://stackoverflow.com/questions/58365687/vscode-extension-iconpath)
|
||||
panel.iconPath = vscode.Uri.joinPath(context.extensionUri, "icon.png")
|
||||
|
||||
panel.iconPath = {
|
||||
light: vscode.Uri.joinPath(context.extensionUri, "icons", "robot_panel_light.png"),
|
||||
dark: vscode.Uri.joinPath(context.extensionUri, "icons", "robot_panel_dark.png"),
|
||||
}
|
||||
tabProvider.resolveWebviewView(panel)
|
||||
|
||||
// Lock the editor group so clicking on files doesn't open them over the panel
|
||||
|
||||
@@ -44,7 +44,6 @@ console.log('Unretrieved output:', unretrievedOutput);
|
||||
*/
|
||||
|
||||
export class TerminalManager {
|
||||
private static readonly TERMINAL_NAME = "Claude Dev"
|
||||
private terminals: TerminalInfo[] = []
|
||||
private processes: Map<number, TerminalProcess> = new Map()
|
||||
private context: vscode.ExtensionContext
|
||||
@@ -127,8 +126,9 @@ export class TerminalManager {
|
||||
}
|
||||
|
||||
const newTerminal = vscode.window.createTerminal({
|
||||
name: `${TerminalManager.TERMINAL_NAME} ${this.nextTerminalId}`,
|
||||
name: "Claude Dev",
|
||||
cwd: cwd,
|
||||
iconPath: new vscode.ThemeIcon("robot"),
|
||||
})
|
||||
const newTerminalInfo: TerminalInfo = {
|
||||
terminal: newTerminal,
|
||||
|
||||
Reference in New Issue
Block a user