Closed underdpt closed 4 years ago
Same Issue as @underdpt
https://github.com/atom/atom-languageclient/pull/276 should fix it
This does appear to be an issue with the atom-languageclient package.
As a workaround, you may be able to fix this by removing the php-ide-serenata
package folder first and then reinstalling. In that case it may skip trying to remove the previous directory.
Once the pull request is merged in atom-languageclient, I'll try targeting the unstable commit to fix the problem here as well - at least if it doesn't break anything else, so I'll leave this open.
Thanks @Gert-dev
Removing the package and package folder didn't help (also tried removing the atom-languageclient
folder). Will wait for the fix.
FYI, Same problem here. Using Win 10 64bit.
Another workaround that you can try is (in your Atom packages folder):
git clone https://github.com/Gert-dev/php-ide-serenata.git
.package.json
and change this line "atom-languageclient": "github:atom/atom-languageclient#3d92c060e0a1b9558a392f5fba674dc707b4528e",
to "atom-languageclient": "^0.9.9",
.apm install
in the php-ide-serenata
folder.This will likely fix it, but you will likely run into an issue where autocompleting e.g. @inher
will result in @@inheritDoc
.
I'm now wondering if I shouldn't just revert to that in master; the issue of not being able to install is probably worse than the autocompletion bug.
I agree, especially since it seems atom has no intention of releasing a new version of atom-languageclient
any time soon.
The other solution could be forking atom-languageclient
and using your own fork until they decide to fix it in the main repo.
Alright, I'm going to revert to 0.9.9. I've created #487 to track the issue it reintroduces.
When upgrading to latest php-ide-serenata v5.0.0 it throws an error in windows, due to the command
rm
being used (but it doesn't exists on windows):The resalted line says "rm" is not recognized as an external or internal command.