Merge branch 'master' into egamma/npmExplorer

This commit is contained in:
Erich Gamma
2018-04-21 10:14:28 -07:00
2667 changed files with 45987 additions and 22338 deletions
@@ -29,7 +29,7 @@ export class BowerJSONContribution implements IJSONContribution {
}
public getDocumentSelector(): DocumentSelector {
return [{ language: 'json', pattern: '**/bower.json' }, { language: 'json', pattern: '**/.bower.json' }];
return [{ language: 'json', scheme: '*', pattern: '**/bower.json' }, { language: 'json', scheme: '*', pattern: '**/.bower.json' }];
}
public collectDefaultSuggestions(_resource: string, collector: ISuggestionsCollector): Thenable<any> {
@@ -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) {