Enable fileEvents in client options (#83)
This is necessary to notify the server about changes to PHP files in the workspace and receive workspace/filepull/105/head
parent
f635ba8c4a
commit
b82e95c39f
|
@ -94,9 +94,9 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
|
|||
},
|
||||
synchronize: {
|
||||
// Synchronize the setting section 'php' to the server
|
||||
configurationSection: 'php'
|
||||
// Notify the server about file changes to composer.json files contain in the workspace
|
||||
// fileEvents: vscode.workspace.createFileSystemWatcher('**/composer.json')
|
||||
configurationSection: 'php',
|
||||
// Notify the server about changes to PHP files in the workspace
|
||||
fileEvents: vscode.workspace.createFileSystemWatcher('**/*.php')
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue