Overall, PHPStorm is significantly faster than NetBeans, uses less resources, and for the last 5 months, I never needed to kill PHPStorm process due to the background scanner issues or anything else really. In the same time, CPU usage is very low, and only if there is some background scan running, it can start using more CPU time. With 5 big projects running at the same time (5 instances), RAM usage was around 2GB. If you run more instances, RAM usage rises, but not by match. Single project running in one PHPStorm instance can take 300MB to 800MB of RAM. My current main development laptop is Lenovo Thinkpad L480 with i5 8250u CPU (4 cores and 8 threads) and 16GB dual-channel DDR4 RAM, with 256GB SSD. I am yet to notice issues with scanning large projects, managing duplicated code and things like that. But, because of such a large cache and the way it works with it, a lot of operations are almost instantaneous. PHPStorm creates cache files for each project and these files can take a lot of space (currently over 5GB of cache used for my projects), compared to NetBeans, it is a huge increase. Linting and hinting can be done using files, and PHPStorm detects those, and it can also have all these rules set in the project settings, and avoid having these extra files in projects too. You still need Node.js installed, but I really hate managing packages and all other nonsense Node brings, PHPStorm conveniently hides all that, and does things in the background with a much easier way to configure things. It is all defined on the project level settings, and you don’t need any extra files inside your project for transforming SCSS to CSS, run minification or something else. Resolving callbacks work fine for methods and functions.įile Watchers can be a pain to configure at first, but, the PHPStorm documentation and support were very helpful, and it works great now.Īnd, since I am not a big fan of having full Node.js build system that has complex build files and things like that, I really like the way PHPStorm handles that. And, the line with add_action or add_filter will include invocation location arrow to quickly bring you to the place that hook is run. When you start typing add_action or add_filter, PHPStorm will provide autocomplete for the action/filter names. Support for actions and filters are very good, but some things are not obvious when you start using it. Setting the project as WordPress project will ensure that PHPStorm caches WordPress functions and classes, it can even adjust coding code style and other things too. WordPress development can be tricky, considering that a lot of things depend on the filters and actions, and PHPStorm handles that very well (for the most part). I still use TortoiseGit, but PHPStorm has been really great with the Git support right in the IDE. It has full Git (and other versioning systems) support, and you can do anything Git related directly from the plugin interface. But, most settings can be exported and imported back to make things easier, and some settings can be global (that too can be confusing, especially since some global settings were not working for me in some cases).įor my particular development setups (some websites are working under XAMPP, some under Local by Flywheel), PHPStorm has been handling projects exceptionally well so far, and with recent 2019.2 update, that has been improved a lot with better WordPress support. For the most part, projects don’t share settings, and you can set up each project differently, and that includes the build process for SCSS or JavaScript, the layout of the environment, version control and everything else.įor me, this was a bit confusing at first, because, right now I have 10 projects created with PHPStorm, covering different types of websites made for the development of various plugins, and sharing settings would make sense for many of the projects. PHPStorm can be opened in multiple instances, each one running different project. One of the basic features that IDE needs to be done well is the handling of projects. PHPStorm IDE with open project Working with projects PHPStorm is developed by the JetBrains and it is one among many different IDE’s and development tools they make for various programming languages and work on all major platforms (Windows, Linux and macOS). Since March I have been using PHPStorm, and after a few months, I can say that PHPStorm will remain my main IDE for PHP/WordPress development for the foreseeable future. For years, I used the NetBeans for all my WordPress related development, but due to the various issues, I gave up on NetBeans earlier this year.
0 Comments
Leave a Reply. |