feat:订阅之后开启vscode就自动打开聊天面板

This commit is contained in:
Roe-xin
2025-12-15 17:14:36 +08:00
parent a1a526bb98
commit c77187eec1

View File

@ -7,6 +7,9 @@ import { ChatHistoryManager } from "./utils/chatHistoryManager";
export function activate(context: vscode.ExtensionContext) { export function activate(context: vscode.ExtensionContext) {
console.log("🎉 IC Coder 插件已激活!"); console.log("🎉 IC Coder 插件已激活!");
// 自动打开聊天面板
vscode.commands.executeCommand("ic-coder.openChat");
// 注册命令:打开助手面板 // 注册命令:打开助手面板
const openPanelCommand = vscode.commands.registerCommand( const openPanelCommand = vscode.commands.registerCommand(
"ic-coder.openPanel", "ic-coder.openPanel",