mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
make jsonValidation dynamic (for #66574)
This commit is contained in:
parent
89275bcf59
commit
3af611c759
|
@ -194,6 +194,10 @@ export function activate(context: ExtensionContext) {
|
|||
|
||||
client.sendNotification(SchemaAssociationNotification.type, getSchemaAssociation(context));
|
||||
|
||||
extensions.onDidChange(_ => {
|
||||
client.sendNotification(SchemaAssociationNotification.type, getSchemaAssociation(context));
|
||||
});
|
||||
|
||||
documentSelector.forEach(selector => {
|
||||
toDispose.push(languages.registerSelectionRangeProvider(selector, {
|
||||
async provideSelectionRanges(document: TextDocument, position: Position): Promise<SelectionRange[]> {
|
||||
|
|
Loading…
Reference in a new issue