src/vs/workbench/api/browser/mainThreadLanguages.ts/MainThreadLanguages/$getLanguages
class MainThreadLanguages:	$getLanguages(): Promise<string[]> {
		return Promise.resolve(this._modeService.getRegisteredModes());
	}