From 1f56a5057e58a0fa8119fc17c10359f61b5c6f80 Mon Sep 17 00:00:00 2001 From: Sara Itani Date: Wed, 1 Mar 2017 02:07:49 -0800 Subject: [PATCH] Enable fileEvents in client options 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') } };