Enable fileEvents in client options

This is necessary to notify the server about changes to PHP files in the workspace and receive workspace/file
pull/83/head
Sara Itani 2017-03-01 02:07:49 -08:00
parent b21ce974fe
commit 1f56a5057e
1 changed files with 3 additions and 3 deletions

View File

@ -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')
}
};