in src/controller/urlController.ts [92:102]
async openCachedFile() {
if (this.context.globalState.get("filePath") !== undefined) {
const filePath = this.context.globalState.get("filePath")?.toString();
const lineNumber = this.context.globalState.get("lineNumber")?.toString();
await this.context.globalState.update("filePath", undefined);
await this.context.globalState.update("lineNumber", undefined);
if (filePath) {
this.revealFile(vscode.Uri.file(filePath), lineNumber);
}
}
}