Update configuration section name

pull/77/head
Jürgen Steitz 2017-03-04 13:10:46 +01:00
parent 997941dc1a
commit 74be99d157
2 changed files with 4 additions and 4 deletions

View File

@ -41,7 +41,7 @@
"type": "object",
"title": "PHP IntelliSense",
"properties": {
"php.intellisense.fileTypes": {
"phpIntelliSense.fileTypes": {
"type": "array",
"default": [
".php"

View File

@ -93,12 +93,12 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
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.