Browse Source

Use label for the web workers

Alex Dima 8 years ago
parent
commit
f53c1650ed
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/workerManager.ts

+ 2 - 0
src/workerManager.ts

@@ -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,