in src/common/user_message.ts [35:56]
async trigger() {
if (this.#globalState.get(this.#storageKey)) return;
if (this.#hasBeenShownInSession) return;
this.#hasBeenShownInSession = true;
const actionTitles = this.#actions.map(a => a.title);
const allOptions = [...actionTitles, "Don't show again"];
const selection = await vscode.window.showInformationMessage(this.#message, ...allOptions);
if (selection === "Don't show again") {
await this.#globalState.update(this.#storageKey, true);
return;
}
const selectedAction = this.#actions.find(a => a.title === selection);
if (selectedAction) {
await selectedAction.callback();
}
}