Add onInitializationFinish event handler to call JStoIdea.getCommandList()
This commit is contained in:
parent
2fc6ecbafa
commit
957c31748d
1
globals.d.ts
vendored
1
globals.d.ts
vendored
@ -2,4 +2,5 @@ interface Window {
|
|||||||
JSJavaBridge: any;
|
JSJavaBridge: any;
|
||||||
acquireVsCodeApi: any;
|
acquireVsCodeApi: any;
|
||||||
IdeaToJSMessage: any;
|
IdeaToJSMessage: any;
|
||||||
|
[key: string]: any;
|
||||||
}
|
}
|
||||||
|
@ -293,6 +293,10 @@ class IdeaBridge {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
window.onInitializationFinish = () => {
|
||||||
|
// 初始化完成
|
||||||
|
JStoIdea.getCommandList();
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
resviceDeleteMessage(res) {
|
resviceDeleteMessage(res) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user