src/vs/workbench/contrib/snippets/browser/snippetsService.ts/SnippetsService/getSnippetsSync
class SnippetsService:	getSnippetsSync(languageId: LanguageId, opts?: ISnippetGetOptions): Snippet[] {
		const result: Snippet[] = [];
		const languageIdentifier = this._modeService.getLanguageIdentifier(languageId);
		if (languageIdentifier) {
			const langName = languageIdentifier.language;
			for (const file of this._files.values()) {
				// kick off loading (which is a noop in case it's already loaded)
				// and optimistically collect snippets
				file.load().catch(_err => { /*ignore*/ });
				file.select(langName, result);
			}
		}
		return this._filterSnippets(result, opts);
	}