r/PHPhelp • u/ddruganov • Aug 07 '22
Best php extension for vs code?
I switched from vscode + intelephense to phpstorm and i find it reeeeaaaally hard to go back because of all of the functionality that storm offers
However, i love vscodes snappiness and ease of use that phpstorm will never match
Is there any way out? How do I combine both? Im willing to pay for an extension just to get best of both worlds
2
u/equilni Aug 07 '22
For those who don't use PHPStorm, what features were you using the most in particular?
3
u/ddruganov Aug 07 '22
Refactoring, jump to definition and tons of cleanup suggestions is what i personally miss from vscode
1
u/little_erik Aug 08 '22
Refactoring, jump to definition and tons of cleanup suggestions is what i personally miss from vscode
If you purchase intelephense premium, you get those features in VS Code as well.
1
u/ddruganov Aug 08 '22
still its not there yet and intelephense kinda starts to stale in its progression
2
u/little_erik Aug 08 '22
Of course it is not on the same level as Phpstorm, as it is maintained by a single person and a lot cheaper.
Though on your second statement regarding being stale in its progressionhttps://github.com/bmewburn/vscode-intelephense/issues/2245#issuecomment-1199180749
1
2
u/ZippyTheWonderSnail Aug 07 '22
When you have tons of new features, the software gets more complex. It's just a given.
Some people see VS Code as the "middle ground" between the super powerful PHP Storm (which is very complex) and the simplicity of a more basic code editor with competition and tree standing like Notepad++.
I also wish there was a way to have the power of PHP Storm in a much more simplistic interface. Maybe someone will design something like that someday. Until then, however, we have to make the choice that is personally best for us.
1
1
u/evaluating-you Aug 08 '22
There's this point in a developers life where the advantages of powerful tooling justify investment. From database to deployment, from live templates to supporting newest features: while vscode is a solid solution for allrounders, eventually you will have simply grown out of it. The snappiness, as you call it, can be achieved in PHPStorm as well by a strong machine. So if you have the means, have you considered solving your issue by going forward instead of taking a step back?
1
u/ddruganov Aug 08 '22
I already have a m1 macbook, it is more than enough for phpstorm; thing is, it leaks crazy amounts of memory and jetbrains have no fix for it nor plans to fix it
1
u/evaluating-you Aug 08 '22
You are running into problems with that setup? I assume you have made memory snapshots and analyzed them?
1
u/ddruganov Aug 08 '22
yes exactly that; and i even got jetbtrains staff to take a look at it to no avail
2
2
10
u/PickerPilgrim Aug 07 '22
Intelephense, phpcbf, and phpcs are the three big ones for me.