PhpStorm 8 brings smarter Backspace key behavior: it doesn’t just remove indents and white spaces, but does so according to your code style settings.
This new setting called Smart Backspace Indent makes editing code much more convenient. Feel free to slam it repeatedly and don’t worry about breaking code style. Unwanted spacing is removed much quicker:
Here at JetBrains, we strive to help PHP developers with excellent tools like PhpStorm that improve our code and workflow. But there’s more to developing PHP applications than that: learning from others and keeping up with what’s going on out there so we can improve our own code.
In this post, I’ll be highlighting the most interesting content from around the web, posted by developers like us. This type of post is an experiment: we don’t know yet if we’ll be doing it monthly or not. It’s up to you! Would you be interested? Or not? Let us know what you think in the comments below.
This release champions the needs of developers working with proven and emerging web technologies, for both front and backend development.
The key PhpStorm 8 enhancements and additions include:
PHP Language Support: Full support for PHP 5.6; completely reworked mixed language editing (i.e. SQL in PHP); new intentions and inspections; enhanced formatting, type inference, and other coding assistance features.
Today we are glad to announce that Zend and JetBrains team up to integrate PhpStorm and Zend Server, bringing in-context visibility and insight to developers with the help of both tools.
Zend Server is an integrated platform for mobile and web apps, helping in all phases of the application life cycle. What is new in Zend Server 7 is the expanded support for developers. Zend Server 7 includes the all-new Z-Ray, which gives unprecedented, in-context visibility inside apps, by showing in real time exactly what happens to construct each page. It helps developers write better code, detect and fix issues earlier, and collaborate with operations staff to resolve production problems faster.
Zend Server now seamlessly integrates with PhpStorm IDE, providing advanced features for debugging and profiling web applications.
In the full tutorial on Using PhpStorm with Zend Server we look into how to configure integration and proceed with debugging, profiling or deploying your code, or using many built-in tools with PhpStorm while Zend Server takes care of your PHP environment.
“Quality software delivered quickly across many types of devices is a prerequisite for innovation,” said Guy Harpaz, Senior Director of Product Management, Zend. “At the heart of quality software is quality code. Zend Server Z-Ray’s integration with PhpStorm empowers both PhpStorm and Zend Server users to address code-related errors early, making application development more efficient across the board. Both businesses and consumers will reap the rewards of this elevated ‘quality control.’”
“We are very excited to add new capabilities to PhpStorm that bring productivity gains for our users,” said Alexey Gopachenko, JetBrains PhpStorm Product Manager. “The integration with Zend Server, and specifically Z-Ray, provides an unprecedented level of visibility that allows developers to see how their code is running as they develop it. This ‘X-Ray’ insight puts the developer in control, translating into higher-quality code produced faster. The combination of Zend Server Z-Ray and PhpStorm is a true win-win throughout the development cycle for both developers and managers, especially for enterprise-oriented projects.”
For more information on Zend Server, check out Zend website.
Zend Server Developer Edition is available starting at $195, with a 30-day trial available on both standalone and AWS-run editions. For a limited time, PhpStorm users can save 20% off the regular price with coupon code PHPSTORM in the shop.
Here’s an example. We’re generating an HTML e-mail body here in which we’re using several PHP variables and so forth. PhpStorm recognizes that the string holds HTML mixed with PHP and provides syntax highlighting, code completion and navigation. Yes, all inside a string.
This update brings support for PSR-2 code formatting of multi-line arguments, support for Behat 3 Turnip regular expressions, and many bug fixes (see full list in our issue tracker)…
Improvements of IntelliJ platform and web changes are also included, see complete release notes.
Download PhpStorm 8 EAP build 138.2071 for your platform from project EAP page and please report any bugs and feature request to our Issue Tracker. Patch-update will be available within an hour from the previous EAP build (PhpStorm 8 EAP 138.1901, Public Preview).
Quick changes to a single file (like a configuration file or just some non-project file) require quick solutions, and creating a full PhpStorm project seems like overkill to change a line or two. The same applies to creating quick drafts.
With a clear understanding of the pain involved in such workflows, we are glad to bring you two major changes improving quick edits in the upcoming PhpStorm 8:
Working with single files without a project
Built-in Scratch plugin to create quick temporary drafts
To enable PHP 5.6 for a project, we can go to Project Settings | PHP and select the PHP 5.6 language level. Of course, to run PHP 5.6 code we will also have to add an interpreter that supports this language level.
An inspection is there as well. When using language features that are not compatible with the configured language level, PhpStorm will tell us and offer to set the language level for us.
Once done, PhpStorm lets us use the new language features. Let’s explore a few.