fixes #6976: [json] Modifying a JSON Schema file requires a restart of VS code to pick up the changes

This commit is contained in:
Martin Aeschlimann
2016-05-30 16:17:37 +02:00
parent 72ebf29820
commit 1e099735a6
4 changed files with 168 additions and 151 deletions

View File

@@ -59,7 +59,7 @@ export function activate(context: ExtensionContext) {
synchronize: {
// Synchronize the setting section 'json' to the server
configurationSection: ['json.schemas', 'http.proxy', 'http.proxyStrictSSL'],
fileEvents: workspace.createFileSystemWatcher('**/.json')
fileEvents: workspace.createFileSystemWatcher('**/*.json')
},
initializationOptions: {
languageIds