diff --git a/package.json b/package.json index 4e94714..bdabe01 100644 --- a/package.json +++ b/package.json @@ -115,6 +115,17 @@ ], "default": null, "description": "The path to a PHP 7+ executable." + }, + "php.trace.server": { + "type": "string", + "enum": [ + "off", + "messages", + "verbose" + ], + "default": "off", + "description": "Traces the communication between VS Code and the PHP language server.", + "scope": "window" } } } diff --git a/src/extension.ts b/src/extension.ts index 193caf6..12e5261 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -128,7 +128,7 @@ export async function activate(context: vscode.ExtensionContext): Promise } // Create the language client and start the client. - client = new LanguageClient('PHP Language Server', serverOptions, clientOptions) + client = new LanguageClient('php', 'Language Support for PHP', serverOptions, clientOptions) const disposable = client.start() // Push the disposable to the context's subscriptions so that the