SUMMARY I have installed version 21.04.1 on Manjaro Linux. I also have Intelephense LSP installed and added to PATH. It can be used from other text editor such as Sublime Text, Atom, or VSCode. Intelephense can be started successfully from Kate, but failed to provide autocompletion or any other feature. STEPS TO REPRODUCE 1. Add Intelephense configuration to kate_lsp_client.json 2. Open PHP project folder 3. Open PHP file from project 4. Try calling autocompletion feature OBSERVED RESULT 17:17:01 LSP Server Warning intelephense@/home/path/to/project Failed to apply changes to file://home/path/to/project/src/File.php EXPECTED RESULT LSP features should work SOFTWARE/OS VERSIONS Linux: Manjaro with GNOME 40.1.0 ADDITIONAL INFORMATION LSP configuration "intelephense": { "command": ["/usr/bin/intelephense", "--stdio"], "url": "https://github.com/bmewburn/intelephense-docs", "highlightingModeRegex": "^PHP.*$", "rootIndicationFileNames": ["composer.json"] }
I am sorry, I think the error happened because of may faulty config. I put `intelephense` instead of `php` as a key in the configuration. This is my working configuration for Kate Editor : "php": { "command": ["/usr/bin/intelephense", "--stdio", "--debug"], "url": "https://github.com/bmewburn/intelephense-docs", "highlightingModeRegex": "^PHP.*$", "rootIndicationFileNames": ["composer.json"] },
Related thread at Intelephense issue page in Github : https://github.com/bmewburn/intelephense-docs/issues/44