Update configuration section name
parent
997941dc1a
commit
74be99d157
|
@ -41,7 +41,7 @@
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"title": "PHP IntelliSense",
|
"title": "PHP IntelliSense",
|
||||||
"properties": {
|
"properties": {
|
||||||
"php.intellisense.fileTypes": {
|
"phpIntelliSense.fileTypes": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"default": [
|
"default": [
|
||||||
".php"
|
".php"
|
||||||
|
|
|
@ -93,12 +93,12 @@ export async function activate(context: vscode.ExtensionContext): Promise<void>
|
||||||
protocol2Code: str => vscode.Uri.parse(str)
|
protocol2Code: str => vscode.Uri.parse(str)
|
||||||
},
|
},
|
||||||
synchronize: {
|
synchronize: {
|
||||||
// Synchronize the setting section 'php' to the server
|
// Synchronize the setting section 'phpIntelliSense' to the server
|
||||||
configurationSection: 'php'
|
configurationSection: 'phpIntelliSense'
|
||||||
// Notify the server about file changes to composer.json files contain in the workspace
|
// Notify the server about file changes to composer.json files contain in the workspace
|
||||||
// fileEvents: vscode.workspace.createFileSystemWatcher('**/composer.json')
|
// fileEvents: vscode.workspace.createFileSystemWatcher('**/composer.json')
|
||||||
},
|
},
|
||||||
initializationOptions: conf.get('intellisense')
|
initializationOptions: vscode.workspace.getConfiguration('phpIntelliSense')
|
||||||
};
|
};
|
||||||
|
|
||||||
// Create the language client and start the client.
|
// Create the language client and start the client.
|
||||||
|
|
Loading…
Reference in New Issue