mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 18:49:00 +01:00
[json] update proxy on settings update
This commit is contained in:
@@ -45,13 +45,8 @@ export function activate(context: ExtensionContext) {
|
||||
documentSelector: ['json'],
|
||||
synchronize: {
|
||||
// Synchronize the setting section 'json' to the server
|
||||
configurationSection: 'json',
|
||||
|
||||
configurationSection: ['json.schemas', 'http.proxy', 'http.proxyStrictSSL'],
|
||||
fileEvents: workspace.createFileSystemWatcher('**/.json')
|
||||
},
|
||||
initializationOptions: {
|
||||
proxy: workspace.getConfiguration().get('http.proxy'),
|
||||
proxyStrictSSL: workspace.getConfiguration().get('http.proxyStrictSSL'),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user