PhpStorm 2019.2 RC

PhpStorm 2019.2 Release Candidate is now available!

Download PhpStorm 2019.2 RC from the EAP page or via the JetBrains Toolbox App.
Heads up! Unlike previous EAP builds, this RC requires a valid PhpStorm license to use it.

The list of changes is settled, and we’re making the final touches. Very soon there will be a detailed overview of the 2019.2 release on our website and a short one in a run-through video.
In the meantime, check the Beta release blog post for the list of the most notable features in 2019.2. And all changes of the current RC build are listed in the release notes.

Stay tuned as the 2019.2 release is just around the corner!

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Release Candidates | Tagged | Leave a comment

PHP Annotated – July 2019

php_annotated

Greetings everyone,

In our July’s edition of PHP Annotated, you can read about the latest on the PHP 7.4.0 alpha 3 release, ReactPHP 1.0 LTS, new proposals from PHP Internals, such as the Strict operators directive, as well as links for Laravel and Symfony, useful tools, videos, and a whole lot more!

Continue reading

Posted in PHP Annotated Monthly | Tagged , , , , | Leave a comment

PhpStorm 2019.2 Beta

PhpStorm 2019.2 Beta is now available for download!

PhpStorm 2019.2 Beta

In this blog post, we round up the usual suspects the most notable new features in the upcoming release. We’ve covered each one in recent months, but thought you may want to see the list in one place and get a better picture of what all 2019.2 has in store.

Continue reading

Posted in Early Access Program | Tagged , | Leave a comment

PhpStorm 2019.2 EAP #7

PhpStorm 2019.2 EAP build 192.5587.32 is now available!

The Early Access Program gets close to a finish line! The release is coming soon, and we are focused on stabilization and polishing. The build includes fixes for PHP and the latest updates from the WebStorm and DataGrip teams and the IntelliJ Platform.

Download PhpStorm 2019.2 EAP from the EAP page or via the JetBrains Toolbox App. Or, if you have the previous PhpStorm 2019.2 EAP build installed, you should soon get a notification in your IDE about a patch update.

For the full list of changes in this build, please see the release notes.

Check out previous EAP blog posts for more updates and added features:

Please report any problems to our issue tracker or comment on this post. Your feedback is much appreciated!

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Early Access Program | Tagged | Leave a comment

PhpStorm 2019.2 EAP #6

PhpStorm 2019.2 EAP build 192.5438.24 is now available!

In this blog post, read about structural search preview in the editor, a browser for the Docker container file system, highlighting for associated loop when the caret is over break/continue operators, and autocompletion for callable types. All of these goodies are available for you to try in this EAP build.

The latest updates from Web, DB, and the IntelliJ Platform are incorporated too, as usual.

Download PhpStorm 2019.2 EAP from the EAP page or via the JetBrains Toolbox App. Or, if you have the previous PhpStorm 2019.2 EAP build installed, you should soon get a notification in your IDE about a patch update.

Structural Search Preview

Structural Search is a powerful feature that allows you to search for a specific code pattern in your project. It’s a lot more than just text search, as it is capable of operating with type information. Structural Search can be especially useful when you are searching through a large project, as a simple search may find too many occurrences. Go to menu Edit → Find → Search Structurally… to try it.

The problem with structural search is that it can be tricky to create a good search pattern. The upcoming PhpStorm 2019.2 will come with a welcome change – now the IDE will instantly highlight the found occurrences of your structural search in the editor. You don’t have to run a modified pattern again and again anymore as you experiment with your search pattern.

Now the IDE will display the values of the filters right in the editor area of the Structural Search dialog. (Previously, the filters were shown in the tooltips, so you had to hover over the variable to see it, and it was only possible to view one filter value at a time.)

ssr_preview
Continue reading

Posted in Early Access Program | Tagged , , , , , | Leave a comment

PhpStorm 2019.2 EAP #5

PhpStorm 2019.2 is shaping up well and today we have the fifth EAP installment for you. In this build, we’re introducing a new popup-less commit flow for VCS, and an intention action to quickly convert comma-separated lists from a single line to multiline and vice versa.
As usual, it incorporates all the latest updates from Web, DB, and the IntelliJ Platform, too.

Download PhpStorm 2019.2 EAP from the EAP page or via the JetBrains Toolbox App. Or, if you have the previous PhpStorm 2019.2 EAP build installed, you should soon get a notification in your IDE about a patch update.

New Intentions

Quickly convert a single line list to multiline, and back

Sometimes you have a long array written on one line, which grows and grows and runs off the screen. Sometimes the function argument names are too long to fit. Or you’ve refactored a method and reduced its list of parameters that were written down on multiple lines. In these kinds of situations, you will probably want to quickly reformat your code so that it either places each item on a separate line or, on the contrary, joins all items into one line.

PhpStorm 2019.2 comes with a neat new intention to do that. Just put the cursor on one of the coma-separate elements in the list, press Alt+Enter, and choose the action you need: “Split comma-separated values into multiple lines” or “Join comma-separated values into a single line”.

split_join_comma-separated_lists

This works anywhere in PHP for arrays, argument lists, and parameter lists.

split_join_params_lists
Continue reading

Posted in Early Access Program | Tagged , , | Leave a comment

PhpStorm 2019.1.3 is released

PhpStorm 2019.1.3 is now available!

This third minor update for the PhpStorm 2019.1 contains a bunch of bugfixes and improvements for PHP, the Web, and includes all the latest updates for the IntelliJ Platform.

Continue reading

Posted in Release Announcements | Tagged | Leave a comment

PHP Annotated Monthly – June 2019

PHP Annotated Monthly

Greetings everyone,

Please welcome the June edition of PHP Annotated Monthly, with all the latest news and notable materials from the world of PHP. Read all about the PHP 7.4.0 alpha 1 release, Doctrine company, new and accepted proposals from PHP Internals, Laravel, Symfony, useful tools, and a whole lot more!
Continue reading

Posted in PHP Annotated Monthly | Tagged , , , , | Leave a comment

PhpStorm and YouTrack: We Want Your Feedback

It’s been 10 years since PhpStorm first came out. Back in 2009, it had the working name ‘WebIDE’, which incidentally is why our tickets in YouTrack have the prefix WI-.

PhpStorm has grown tremendously and added many features and subsystems. Still, our team is small and close-knit. Our developers, QAs, and support engineers work together to deliver the PHP IDE to help you craft the best software. But the biggest part of our team is you – our community. Without your feedback, the product would have never become what it is today!

In this post, I’d like to tell you a little about how we manage feature requests and bug reports, and how to submit your feedback so that it will make an impact faster.
Continue reading

Posted in Newsletter | Tagged | Leave a comment

PhpStorm 2019.2 EAP #4

The EAP for the upcoming PhpStorm 2019.2 is in full swing and today we have build number 4 for you to try out. Here are some of the goodies you’ll find inside:

  • Run Composer via any remote PHP interpreter.
  • Syntax highlighting for over 20 different languages.
  • Control PhpStorm-specific code style settings via EditorConfig.
  • Code completion for mistyped keywords and names.
  • Improvements for .gitignore files.
  • Choose columns to show in the VCS log.

Download PhpStorm 2019.2 EAP from the EAP page or via the JetBrains Toolbox App. Or, if you have the previous PhpStorm 2019.2 EAP build (192.4787.17) installed, you should soon get a notification in your IDE about a patch update.

Run Composer via any remote PHP interpreter

Just recently, in PhpStorm 2019.1.2, we added support for running Composer via a Docker image. Building on that, we can confirm PhpStorm 2019.2 will be able to run Composer via any remote interpreter configured in your IDE. It can be Docker, Docker-compose, Vagrant, or just a remote server via SSH.

To check out this feature, go to Preferences | Languages & Frameworks | PHP | Composer and select Remote Interpreter.

composer_via_remote

Choose any interpreter in the dropdown or add a new one!

Syntax highlighting for over 20 different languages

Do you have some files in your project in a language other than PHP? In PhpStorm 2019.2, we’re adding syntax highlighting for over 20 different programming languages, including Python, Ruby, and Go. It just works – no additional configuration needed.

With this change, we want to improve the experience of our users who occasionally have to look through some code written in different languages which are not fully supported in PhpStorm. But PhpStorm is still primarily an IDE for PHP and Web developers, so we don’t plan to extend the support for these other languages beyond syntax highlighting.

syntax_highlightning_python_dark

Syntax highlighting for these languages is built using TextMate grammars, and PhpStorm bundles a collection of grammar files for different languages. Currently, they are shipped as part of the TextMate Bundles plugin, so you can see the full list of supported languages under Preferences | Editor | TextMate Bundles.

Code completion for mistyped keywords and names

As you type, it often happens that you accidentally mix up some characters. For example, you’ll type funtcion or fnction instead of function. Now, code completion can understand this kind of typos and will still suggest the most relevant option for you.

fuzzy_completion

This works in all supported languages and for all symbols – keywords, classes, functions, members, and so on.

EditorConfig supports PhpStorm settings and works per scope

In the last EAP build, we announced out-of-the-box support for EditorConfig.

This update brings two major improvements in that area. First, you can set different code style settings for the selected scope. This can be handy if your project is quite big with multiple teams working on it and using different code style conventions. All you need to do is place the .editorconfig file in the root directory of a folder. You can have as many .editorconfig files as you need in a single project.

Second, the IDE will now be able to manage not only EditorConfig standard properties, but also PhpStorm-specific options in the same file as well! The new IDE-specific options will be introduced to cover most of the code style settings, which before could be configured only via UI. These options will have the prefix ij_ to distinguish them from standard EditorConfig properties.

editorconfig

Also, you will be able to create the EditorConfig file from the Project View. Select a directory, call up the context menu, and choose New | EditorConfig. The IDE will provide you with a choice to create a standard EditorConfig file with standard and/or IntelliJ IDEA-specific properties. In this dialog, you can also choose the language options you would like to include in the EditorConfig File.

editorconfig_uncut

VCS

Working with .gitignore

PhpStorm supports .gitignore and highlights ignored files and folders listed in the Project view.
Now, we’re making it a bit easier to add unversioned files to .gitignore. To do this in the Version Control tool window, right-click on a file in the Unversioned files group and select Add to .gitignore.

gitignore_add

Code completion is available for file and folder names in your .gitignore file. Cmd-click on the name to jump to it in the Project view.

gitignore_autocomplete

Hide author, data or hash from Log

The Log view in the Version Control tool window shows you the latest commits made in your project. By default, it shows you the commit message, as well as the author, date, and hash of the commit. Now you can hide the columns you don’t need – click the eye icon and then select Show Columns.

git_show_columns

For the full list of changes in this build, including both bug-fixes and improvements, see the release notes.

Please report any problems to our issue tracker or comment on this post. Your feedback is much appreciated!

Your JetBrains PhpStorm Team
The Drive to Develop

Posted in Early Access Program | Tagged , , , , , | Leave a comment