mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-26 10:16:01 +01:00
JSON: can no longer intellisense inside string. Fixes #2506
This commit is contained in:
@@ -60,7 +60,7 @@ class ConfigurationRegistry implements IConfigurationRegistry {
|
||||
|
||||
constructor() {
|
||||
this.configurationContributors = [];
|
||||
this.configurationSchema = { anyOf: [] };
|
||||
this.configurationSchema = { allOf: [] };
|
||||
this._onDidRegisterConfiguration = new Emitter<IConfigurationRegistry>();
|
||||
|
||||
contributionRegistry.registerSchema(schemaId, this.configurationSchema);
|
||||
@@ -87,7 +87,7 @@ class ConfigurationRegistry implements IConfigurationRegistry {
|
||||
|
||||
private registerJSONConfiguration(configuration: IConfigurationNode) {
|
||||
var schema = <IJSONSchema> objects.clone(configuration);
|
||||
this.configurationSchema.anyOf.push(schema);
|
||||
this.configurationSchema.allOf.push(schema);
|
||||
contributionRegistry.registerSchema(schemaId, this.configurationSchema);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user