From b82e95c39fe6c7880ca4b52e978a49ea1c2850cb Mon Sep 17 00:00:00 2001 From: Sara Itani Date: Mon, 10 Apr 2017 05:09:47 -0700 Subject: [PATCH] Enable fileEvents in client options (#83) This is necessary to notify the server about changes to PHP files in the workspace and receive workspace/file --- src/extension.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/extension.ts b/src/extension.ts index 6701735..706bc14 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -94,9 +94,9 @@ export async function activate(context: vscode.ExtensionContext): Promise }, 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') } };