src/vs/workbench/services/untitled/common/untitledTextEditorModel.ts/UntitledTextEditorModel/getMode
class UntitledTextEditorModel:	override getMode(): string | undefined {
		if (this.textEditorModel) {
			return this.textEditorModel.getModeId();
		}

		return this.preferredMode;
	}