<div dir="ltr"><div>Hi.</div><div><br></div><div>I'm trying to configure the new Kate (version 19.12.0) LSP plugin to use a server other than the ones listed in <a href="https://invent.kde.org/kde/kate/blob/master/addons/lspclient/settings.json">https://invent.kde.org/kde/kate/blob/master/addons/lspclient/settings.json</a></div><div><br></div><div>Specifically I want to have LSP support for PHP language via this server implementation: <a href="https://github.com/felixfbecker/php-language-server">https://github.com/felixfbecker/php-language-server</a></div><div><br></div><div>I've successfully installed the PHP server and I can run it without issues but after enabling the LSP plugin in Kate and providing my own server config file for Kate to "discover" the new LSP server, when I open a PHP file in Kate I see the message "No LSP server for this document" and none of the LSP features are available. See screenshot at <a href="https://imgur.com/a/LHDerBi">https://imgur.com/a/LHDerBi</a></div><div><br></div><div>The command to run the server in my computer is "php /home/stolz/php-language-server/bin/php-language-server.php" and therefore I have created this custom server config JSON file:</div><div><br></div><div>{<br>  "servers": {<br>    "php": {<br>      "command": ["php", "/home/stolz/php-language-server/bin/php-language-server.php"],<br>      "url": "<a href="https://github.com/felixfbecker/php-language-server">https://github.com/felixfbecker/php-language-server</a>"<br>    }<br>  }<br>}</div><div><br></div><div>Since the plugin is new there isn't much documentation around so I'm not sure if I'm following the expected JSON format. Also, the server implementation supports input from both STDIN/STDOUT or TCP. Which one does Kate use for the client-server communication? I don't see any option to specify server address nor port, so I guess Kate uses STDIN/STDOUT.</div><div><br></div><div>Any help would be much appreciated.</div><div><br></div><div>Regards.</div><div><br></div></div>