From 74be99d15703b16b810334b76e53491bc1bc4a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Steitz?= Date: Sat, 4 Mar 2017 13:10:46 +0100 Subject: [PATCH] Update configuration section name --- package.json | 2 +- src/extension.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a177542..9ae40db 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "type": "object", "title": "PHP IntelliSense", "properties": { - "php.intellisense.fileTypes": { + "phpIntelliSense.fileTypes": { "type": "array", "default": [ ".php" diff --git a/src/extension.ts b/src/extension.ts index 027f460..c178bc7 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -93,12 +93,12 @@ export async function activate(context: vscode.ExtensionContext): Promise protocol2Code: str => vscode.Uri.parse(str) }, synchronize: { - // Synchronize the setting section 'php' to the server - configurationSection: 'php' + // Synchronize the setting section 'phpIntelliSense' to the server + configurationSection: 'phpIntelliSense' // Notify the server about file changes to composer.json files contain in the workspace // fileEvents: vscode.workspace.createFileSystemWatcher('**/composer.json') }, - initializationOptions: conf.get('intellisense') + initializationOptions: vscode.workspace.getConfiguration('phpIntelliSense') }; // Create the language client and start the client.