mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-04 07:15:54 +01:00
Change document selector to include the schema explicitly
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user