Change document selector to include the schema explicitly

This commit is contained in:
Erich Gamma
2018-04-18 11:44:34 -07:00
parent 52a75ecf23
commit 0911fb867d
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ export class PackageJSONContribution implements IJSONContribution {
private knownScopes = ['@types', '@angular'];
public getDocumentSelector(): DocumentSelector {
return [{ language: 'json', pattern: '**/package.json' }];
return [{ language: 'json', scheme: '*', pattern: '**/package.json' }];
}
public constructor(private xhr: XHRRequest) {