Does anybody work with ExpressionEngine + PhpStorm? I only found a post almost a decade old. And as usual Jetbrains doesn’t care about it.
Without proper support, developing is quite bad. Most of the code is white and nothing gets well formatted. Is there anything helpful you know of to work with ExpressionEngine + PhpStorm?
I use PhpStorm for … PHP/add-on work, but when I need to do a lot of template work, I use Sublime Text, or more recently Visual Studio Code. It’s not the most ideal, but honestly it works out fine for me. I just have the templates folder open in one of those other apps instead of the entire project folder, so it’s super snappy.
Some tips that I want to give you.
Syntax highlighting: PhpStorm will provide syntax highlighting for PHP, HTML, and CSS, which are the main languages used in ExpressionEngine development. This will make the code easier to read.
Custom file types: You can configure PhpStorm to recognize your ExpressionEngine template files as custom file types, which can help with markup and formatting. Go to File > Settings > Editor > File Types and add a custom file type for your template file (for example, .html or .ee).
Code Formatting: PhpStorm allows you to configure code formatting options. You can set specific coding styles for HTML, CSS, and PHP to match the coding standards of your ExpressionEngine project. You can find these settings in File > Settings > Editor > Code Style.
Use extensions: PhpStorm has an extensive library of extensions and plugins created by the community. While there may not be a dedicated ExpressionEngine plugin, there may be some extensions that can enhance your experience. Check out the JetBrains Plugin Repository for available plugins.
Community forums: Consider searching or posting on the official PhpStorm forums or other development communities. You may find workarounds or tips from developers experienced with ExpressionEngine and PhpStorm.
File Templates: Create custom file templates in PhpStorm for ExpressionEngine-specific files (e.g. templates, template sections) to streamline your development process.
pacman full screen : Use version control systems like Git to manage your ExpressionEngine project. PhpStorm has strong support for version control integration.
Live Templates: Create custom live templates for commonly used ExpressionEngine tags or code snippets to improve your efficiency.
Code Inspection: PhpStorm provides code inspection and code analysis capabilities. While it may not be specific to ExpressionEngine, it can help identify problems in your PHP, HTML, and CSS code.
You can try to turn off the Insteon Hub, unplug it from power, snaptik and let it sit for about 30 seconds. Then, plug it back in and turn it on
Customizing PhpStorm settings and using third-party slope plugins may require testing to achieve optimal results.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.