extensions/css-language-features/client/src/browser/cssClientMain.ts/activate
export function activate(context: ExtensionContext) {
	const serverMain = Uri.joinPath(context.extensionUri, 'server/dist/browser/cssServerMain.js');
	try {
		const worker = new Worker(serverMain.toString());
		const newLanguageClient: LanguageClientConstructor = (id: string, name: string, clientOptions: LanguageClientOptions) => {
			return new LanguageClient(id, name, clientOptions, worker);
		};

		startClient(context, newLanguageClient, { TextDecoder });

	} catch (e) {
		console.log(e);
	}
}