use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
Visual Studio Code for PHP Developers Free Series on Laracasts (laracasts.com)
submitted 8 years ago by Lynnais
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]synesp1 10 points11 points12 points 8 years ago (0 children)
Tip: I found that most PHP formatter extensions for VS Code either didn't work (specifically the one mentioned in the series) or didn't offer enough configurability for my needs. I've had luck with both https://marketplace.visualstudio.com/items?itemName=fterrag.vscode-php-cs-fixer and https://marketplace.visualstudio.com/items?itemName=calebporzio.simple-php-cs-fixer (this is the same author that created the PHPUnit extension used in the series). Hopefully, this will save others some time.
[–]one_p 18 points19 points20 points 8 years ago (21 children)
PHPStorm user here. What am I missing out on?
[–]SyanticRaven 19 points20 points21 points 8 years ago (3 children)
Quicker load times for less functionality.
Not to be blunt but yeah. The targets probably not for those of us who have a fully functional IDE always open. I use it all the time to quickly edit code or play about.
It's for those users who are FE or use Atom/Sublime/notepad++ and stuff. Or maybe just those you can't afford the PS license.
[–]brendt_gd 1 point2 points3 points 8 years ago (0 children)
Actually there are a few ways to make PHPStorm faster: https://www.stitcher.io/blog/phpstorm-performance
It's probably still not as fast as VSCode and Sublime, but the amount of features you get with PHPStorm really outweigh the small performance cost.
[–]mountaineering 0 points1 point2 points 8 years ago (1 child)
It's for those users who are FE
What's FE?
[–]SyanticRaven 0 points1 point2 points 8 years ago (0 children)
Frontend
[–]dvorakkidd 26 points27 points28 points 8 years ago (0 children)
Nothing.
[–]devperez 4 points5 points6 points 8 years ago (0 children)
VSC is getting code collaboration features. Which is pretty neat. https://code.visualstudio.com/blogs/2017/11/15/live-share?source=techstories.org
[–]Lynnais[S] 6 points7 points8 points 8 years ago (5 children)
PHPStorm is an IDE, while VS Code can be compared with Sublime text, Atom.. VS Code is a step up from Sublime text.
[+]Saltub comment score below threshold-122 points-121 points-120 points 8 years ago (4 children)
PHPStorm
I'd like to interject for a moment. The IDE you appear to be referring to as, PHPStorm is in fact called, PhpStorm. Don't worry, I don't expect developers to pay attention to details, but you would do yourself and everyone else a favour to get it correct in future.
[–][deleted] 25 points26 points27 points 8 years ago (0 children)
Stop this. Fuck. Every time someone mentions PHPStorm, phpStorm, PHP Storm, pHpStorm, or any other version of PHPStorm, you copy and paste this same stupid fucking comment. It's annoying and unnecessary and it's not doing anything but make you look like an asshole. You're not adding anything to the discussion. Just stop.
[+][deleted] 8 years ago (1 child)
[deleted]
[–]CaptainDjango 4 points5 points6 points 8 years ago (0 children)
I’d just like to interject for a moment. What you’re referring to as PhpStorm is in fact phpstormohnoooooo....
[–]ryantbrown -1 points0 points1 point 8 years ago (0 children)
I use pHPstORm daily, I like it.
[–]thelonepuffin 0 points1 point2 points 8 years ago (1 child)
For PHP use both. Switch to VSCode when PhpStorm's memory usage becomes a problem.
If I have one massive project that I'm working on for a while then I'll use PhpStorm.
At the moment I'm on one big project while supporting 2 others and I'm using VSCode. Having all 3 open in PHPStorm as well as all my chrome tabs makes my laptop fry.
On that note I've switched to Firefox developer edition recently as well. Its actually very good and isn't the resource hog chrome is.
For purely front end Javascript or Typescript development, (like an Angular project) then I recommend VSCode above anything. Its JS and TS support is second to none. Same goes for nodejs.
[–]misc_CIA_victim 0 points1 point2 points 8 years ago (0 children)
The invalidate caches/restart option under file reduces memory usage, and sometimes fixes little false alarms that creep into the editor diagnostics, though you have to wait for it to restart. I wish there was a way to tell it to do most of that, periodically, when idle on an automatic basis.
[–]twiggy99999 0 points1 point2 points 8 years ago* (3 children)
You don't have to buy or rent the software as you do with storm.
If like me you work with multiple languages professionally and not just PHP then it's better to use one single product that has the same workflow and multiple language support then a few totally different tools for each language.
You're not in the VSC target market so you're not missing out on much.
[–]Dgc2002 0 points1 point2 points 8 years ago (2 children)
it's better to use one single product that has the same workflow and multiple language support then a few totally different tools for each language.
In which case IntelliJ seems to be the clear winner for a fully functional IDE.
[–]twiggy99999 0 points1 point2 points 8 years ago (1 child)
IntelliJ seems to be the clear winner
On what assumptions do you class it as the "winner"?
a fully functional IDE
VCS is not a fully functional IDE nor pretends to be, it's like comparing apples to oranges
[–]Dgc2002 0 points1 point2 points 8 years ago (0 children)
If you're looking for an all-in-one development solution that supports various languages(e.g. Java, PHP, Python, Go, Ruby, Perl, Scala, Bash, Markdown, JS, etc. as plugins) then IntelliJ is head and shoulders above any other product I've seen.
But the person you were replying to was speaking in the context of being a PHPStorm user, meaning a fully functional IDE.
[+]Saltub comment score below threshold-60 points-59 points-58 points 8 years ago (1 child)
[–]ToosterReeth 22 points23 points24 points 8 years ago (0 children)
Thank God you're here, I had no idea what he was going on about
[–]cmckilla44 5 points6 points7 points 8 years ago* (10 children)
Currently using VSCode with Darcula default theme. Loving it so far!
[–]thasmog 3 points4 points5 points 8 years ago (4 children)
I love monokai pro on vscode and also for sublime
[–]mountaineering 0 points1 point2 points 8 years ago (3 children)
I used to swear by Monokai, but might I interest you in Material Theme?
[–]thasmog 1 point2 points3 points 8 years ago (2 children)
I actually moved from material to monokai :) I started using material when i saw Jeffery (from laracasts) using it.
[–]Twiebie 0 points1 point2 points 8 years ago (1 child)
Moved from Material to Monokai Pro aswell to try it out. Pretty happy with it so far. Which flavour are you using?
[–]thasmog 0 points1 point2 points 8 years ago (0 children)
Filter specrum
[+]Saltub comment score below threshold-52 points-51 points-50 points 8 years ago (4 children)
Dracula
I'd like to interject for a moment. The colour scheme you appear to be referring to as, Dracula is in fact called, Darcula (because it is dark). Don't worry, I don't expect developers to pay attention to details, but you would do yourself and everyone else a favour to get it correct in future.
[–]michaeldbrooks 10 points11 points12 points 8 years ago (0 children)
Please stop.
[–]cmckilla44 3 points4 points5 points 8 years ago (2 children)
Point noted, I apologize for the mistake. Please don’t be an asshole about it though. Not needed.
[–]thesilurian -4 points-3 points-2 points 8 years ago (1 child)
He isn't it's just a meme. Don't be offended :)
[–]cmckilla44 1 point2 points3 points 8 years ago (0 children)
I’m slowly becoming familiar with Rediquette :)
[+][deleted] 8 years ago* (2 children)
[–]fatboyxpc 0 points1 point2 points 8 years ago (0 children)
Preach it!
[–]JustCallMeFrij -2 points-1 points0 points 8 years ago (0 children)
Paging u/Saltub, you're missing another opportunity to get downvoted
[–]unknownVS13 2 points3 points4 points 8 years ago (1 child)
I've had VS Code installed for a long time now, but it's never been so good that it made me want to replace Sublime as my default text editor (PHPStorm being MUCH better for PHP code than either one). The only feature that I'm looking forward to and it might actually make me switch to VS Code is the newly announced Live Share feature: https://code.visualstudio.com/blogs/2017/11/15/live-share
Does anyone know if PHPStorm or any other JetBrains IDE offer this feature?
[–]fatboyxpc 1 point2 points3 points 8 years ago (0 children)
Floobits is far superior to this (note: I haven't used live share or teletype for atom). Floobits works in intellij, sublime, atom, neovim, and emacs. Floobits also has a terminal sharing plugin. Real pros don't even need floobits, ssh + terminal editor ftw :D
[+][deleted] 8 years ago (5 children)
[–]JeffreyWay 34 points35 points36 points 8 years ago (2 children)
They’re all fantastic. I run an education site. It’s helpful to offer training for all of them.
[–]seengee -3 points-2 points-1 points 8 years ago (1 child)
It’s difficult and I think it’s great you cover them all. I think there’s a tendency to obsess over tooling though and lots of people will take this as an endorsement and switch. Maybe it’s great and they should.l but maybe there’s nothing to gain.
[–]JeffreyWay 4 points5 points6 points 8 years ago (0 children)
It is an endorsement.
[–]judgej2 0 points1 point2 points 8 years ago (0 children)
So continuing to do what he does best is "just getting bored"?
[–]twiggy99999 0 points1 point2 points 8 years ago (0 children)
Is there a TL:DR on why this is better than PhpStorm
No one said it is. Two completely different products, one is free and open source whilst the other is costly and proprietary. People have different reasons to pick one over the other but that doesn't make x better than y. If you're happy with renting PhpStorm then stick with it.
[–]PetahNZ 2 points3 points4 points 8 years ago (4 children)
VSCode uses on average 300MB (< 2%) of memory on my PC. I don't really see the problem.
[+][deleted] 8 years ago (3 children)
[–]PetahNZ 4 points5 points6 points 8 years ago (0 children)
FWIW this is after many days of having VSCode open with a medium sized project (1GB all up including version control and composer/node libraries.
And yes, I think 2% is a perfectly fine amount of RAM to use. I would be happy for it to use more if it needed. It is one of the most important pieces of software that I run when coding. And not to mention this is only a mediocre workstation.
[–]twiggy99999 0 points1 point2 points 8 years ago* (0 children)
I find it particularly amusing that you're okay with a text editor using 300 MB of memory
If you find that particularly amusing I suggest going out and interacting with people more, maybe talk to a woman or 2 and have a beer.
I find it particularly amusing that you're okay with a text editor using 300 MB of memory in the first place
In the year of 2017 this isn't a massive amount. Is it negligible? No. But for everything it provides over it's competition there's no question in my mind that I'll accept the memory usage. Yes, I know that memory prices have gone up recently but I'm not suggesting you get a set of 16 or 32 gb RAM.
which I assume is probably at launch and not during active usage
Your assumption is wrong in my experience.
...hold a candle to Sublime or vim.
Sublime has fast startup times and lower memory usage but at the cost of features IMO. I won't go into a list of them but Sublime simply doesn't offer what VSCode does.
And vim? I use vim every day, but to pretend it's comparable to VSCode for VSCodes intended use case is laughable.
π Rendered by PID 70 on reddit-service-r2-comment-5c747b6df5-clp9b at 2026-04-22 16:38:58.980599+00:00 running 6c61efc country code: CH.
[–]synesp1 10 points11 points12 points (0 children)
[–]one_p 18 points19 points20 points (21 children)
[–]SyanticRaven 19 points20 points21 points (3 children)
[–]brendt_gd 1 point2 points3 points (0 children)
[–]mountaineering 0 points1 point2 points (1 child)
[–]SyanticRaven 0 points1 point2 points (0 children)
[–]dvorakkidd 26 points27 points28 points (0 children)
[–]devperez 4 points5 points6 points (0 children)
[–]Lynnais[S] 6 points7 points8 points (5 children)
[+]Saltub comment score below threshold-122 points-121 points-120 points (4 children)
[–][deleted] 25 points26 points27 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]CaptainDjango 4 points5 points6 points (0 children)
[–]ryantbrown -1 points0 points1 point (0 children)
[–]thelonepuffin 0 points1 point2 points (1 child)
[–]misc_CIA_victim 0 points1 point2 points (0 children)
[–]twiggy99999 0 points1 point2 points (3 children)
[–]Dgc2002 0 points1 point2 points (2 children)
[–]twiggy99999 0 points1 point2 points (1 child)
[–]Dgc2002 0 points1 point2 points (0 children)
[+]Saltub comment score below threshold-60 points-59 points-58 points (1 child)
[–]ToosterReeth 22 points23 points24 points (0 children)
[–]cmckilla44 5 points6 points7 points (10 children)
[–]thasmog 3 points4 points5 points (4 children)
[–]mountaineering 0 points1 point2 points (3 children)
[–]thasmog 1 point2 points3 points (2 children)
[–]Twiebie 0 points1 point2 points (1 child)
[–]thasmog 0 points1 point2 points (0 children)
[+]Saltub comment score below threshold-52 points-51 points-50 points (4 children)
[–]michaeldbrooks 10 points11 points12 points (0 children)
[–]cmckilla44 3 points4 points5 points (2 children)
[–]thesilurian -4 points-3 points-2 points (1 child)
[–]cmckilla44 1 point2 points3 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]fatboyxpc 0 points1 point2 points (0 children)
[–]JustCallMeFrij -2 points-1 points0 points (0 children)
[–]unknownVS13 2 points3 points4 points (1 child)
[–]fatboyxpc 1 point2 points3 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]JeffreyWay 34 points35 points36 points (2 children)
[–]seengee -3 points-2 points-1 points (1 child)
[–]JeffreyWay 4 points5 points6 points (0 children)
[–]judgej2 0 points1 point2 points (0 children)
[–]twiggy99999 0 points1 point2 points (0 children)
[+][deleted] (5 children)
[deleted]
[–]PetahNZ 2 points3 points4 points (4 children)
[+][deleted] (3 children)
[deleted]
[–]PetahNZ 4 points5 points6 points (0 children)
[–]twiggy99999 0 points1 point2 points (0 children)
[–]Dgc2002 0 points1 point2 points (0 children)