src/vs/workbench/contrib/welcomeViews/common/newFile.contribution.ts/NewFileTemplatesManager/run
class NewFileTemplatesManager:	run() {
		const entries = this.allEntries();
		if (entries.length === 0) {
			throw Error('Unexpected empty new items list');
		}
		else if (entries.length === 1) {
			this.commandService.executeCommand(entries[0].commandID);
		}
		else {
			this.selectNewEntry(entries);
		}
	}