extensions/typescript-language-features/src/tsServer/versionStatus.ts/VersionStatus/updateStatus
class VersionStatus:	private async updateStatus() {
		const editor = this._activeTextEditorManager.activeJsTsEditor;
		if (!editor) {
			this.hide();
			return;
		}

		const doc = editor.document;
		if (isTypeScriptDocument(doc)) {
			const file = this._client.toOpenedFilePath(doc, { suppressAlertOnFailure: true });
			if (file) {
				this._statusBarEntry.show();
				if (!this._ready) {
					return;
				}

				const pendingState = new ProjectInfoState.Pending(doc.uri);
				this.updateState(pendingState);

				const response = await this._client.execute('projectInfo', { file, needFileNameList: false }, pendingState.cancellation.token);
				if (response.type === 'response' && response.body) {
					if (this._state === pendingState) {
						this.updateState(new ProjectInfoState.Resolved(doc.uri, response.body.configFileName));
						this._statusBarEntry.show();
					}
				}

				return;
			}
		}

		this.hide();
	}