style(editor-app): 移除log信息

This commit is contained in:
yhh
2025-11-20 09:51:29 +08:00
parent 0d2948e60c
commit 8b9616837d
15 changed files with 4 additions and 164 deletions

View File

@@ -82,18 +82,10 @@ export class FileActionRegistry implements IService {
* 处理文件双击
*/
async handleDoubleClick(filePath: string): Promise<boolean> {
const extension = this.getFileExtension(filePath);
console.log('[FileActionRegistry] handleDoubleClick:', filePath);
console.log('[FileActionRegistry] Extension:', extension);
console.log('[FileActionRegistry] Total handlers:', this.actionHandlers.size);
console.log('[FileActionRegistry] Registered extensions:', Array.from(this.actionHandlers.keys()));
const handlers = this.getHandlersForFile(filePath);
console.log('[FileActionRegistry] Found handlers:', handlers.length);
for (const handler of handlers) {
if (handler.onDoubleClick) {
console.log('[FileActionRegistry] Calling handler for extensions:', handler.extensions);
await handler.onDoubleClick(filePath);
return true;
}