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
pull/105/head
Sara Itani 2017-04-10 05:09:47 -07:00 committed by Felix Becker
parent f635ba8c4a
commit b82e95c39f
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: {
// Synchronize the setting section 'php' to the server // Synchronize the setting section 'php' to the server
configurationSection: 'php' configurationSection: 'php',
// Notify the server about file changes to composer.json files contain in the workspace // Notify the server about changes to PHP files in the workspace
// fileEvents: vscode.workspace.createFileSystemWatcher('**/composer.json') fileEvents: vscode.workspace.createFileSystemWatcher('**/*.php')
} }
}; };