Use label for the web workers

This commit is contained in:
Alex Dima 2016-10-07 15:17:02 +02:00
parent 69912f9b93
commit f53c1650ed

View file

@ -64,6 +64,8 @@ export class WorkerManager {
// module that exports the create() method and returns a `JSONWorker` instance
moduleId: 'vs/language/json/jsonWorker',
label: this._defaults.languageId,
// passed in to the create() method
createData: {
languageSettings: this._defaults.diagnosticsOptions,