felixfbecker / php-language-server

PHP Implementation of the VS Code Language Server Protocol 🆚↔🖥
ISC License
1.16k stars 185 forks source link

Abandonware question #807

Open thwaller opened 3 years ago

thwaller commented 3 years ago

It seems that many users of this extension have reported issues and tried pull requests that have gone ignored for some years now. I cannot speak for all, but the php-language-server will not even run anymore on VSCode Insiders 1.55, March 2021.

Assuming this project is simply no longer maintained, has anyone done a fork to keep this current, or aware of any good alternatives?

I use the PHP IntelliSense extension, which is where I have use of this repo. Given that there are 5 million+ users, I assume someone has noticed the issues and found some sort of solution?

m50 commented 3 years ago

If it truly is abandonware, there is the closed source Intelephense: https://marketplace.visualstudio.com/items?itemName=bmewburn.vscode-intelephense-client

I have had much better experience with it personally, as well.

thwaller commented 3 years ago

Shocking to me that an extension with such a large user base would just die off, but it has become unusable. I noticed that extension, but was reluctant as it is a freemium product and closed as you mentioned. I might give it a go.

kczx3 commented 3 years ago

Intelephense may be freemium but the free version is quite comphrensive in my opinion. And the premium version is $10 for LIFE which is really quite reasonable these days I think.

lumnn commented 3 years ago

For those looking for an open-source PHP LSP solution there is phpactor, which works great for me.

I can't tell though how good it is in vscode, as I'm not using it there. I'm only aware that there is not published extension available here https://github.com/phpactor/vscode-phpactor

apfelchips commented 3 years ago

I've had some success using serenata and Sublime-LSP on Windows since phpactor doesn't support Windows path URIs yet, see: https://github.com/phpactor/phpactor/issues/564#issuecomment-729447765

     {
        "serenata":
        {
            "enabled": false,
            "command": [
                "php",
                "-d",
                "memory_limit=1024M",
                "${packages}/User/serenata.phar",
                "--uri=tcp://127.0.0.1:4538"
            ],
            "tcp_port": 4538,
            "languageId": "php",
            "scopes": ["source.php", "embedding.php"],
            "syntaxes": ["Packages/PHP/PHP.sublime-syntax"]
        },

I've put the serenata.phar inside my Sublime Text Settings User folder.