📜 ⬆️ ⬇️

New PhpStorm 6.0 makes it easy to work with Composer and other tools.

PhpStorm 6.0 is released. We did it so that you could write code even better, even easier, even faster.

(by the way, well done La2ha , that I decided to publish the news about the release on Habré before us, otherwise we are trying very hard to check everything carefully before publishing)

And now - take a look at the details of what we have added and improved.
')


Composer


Composer is the increasingly popular dependency manager for PHP. In PhpStorm 6, its support includes:


image

Code (Re) arranger


Code (re) arranger - not to be confused with a code reformer! - This is a customizable tool that allows you to correctly swap the elements of the code, native or generated by PhpStorm, to facilitate its readability and navigation through it (important for OOP in PHP). For example, you can assign the order of the elements — all the methods after defining the properties of the objects or putting together methods that depend on each other.

image

New Database Editor


PhpStorm has its own database schema editor, which is also available in RubyMine and IntelliJ IDEA Ultimate Edition.

Supports work with a wide range of DBMS, including MySQL, PostgreSQL, Oracle and DB2. Technically, you can connect any DBMS for which there is a jdbc connector.

The editor allows you to:


image

Other innovations


In addition, it is worth noting the emergence of new refactorings (Change Signature, Pull members Up / Push members Down, Move class to another namespace), fully configurable patterns (including PHPDoc), an increased number of code inspections and better prevention of runtime errors, which helps to write error-free code.

PhpStorm 6 also includes code folding functionality in Twig templates for blocks and control structures; improvements in debugging and testing applications; Drag & Drop and Copy & Paste for files and directories when working with remote hosts; PHP Mess Detector support, and much more.

Web development ease


Some of the new features of PhpStorm may be familiar to you if you have already tried WebStorm 6 or read an article about it on Habré : we improved the display of the HTML and CSS structure (view on Ctrl + F12), and added Emmet support (aka Zen Coding) to the editor.

In addition, as in WebStorm, a built-in REST client has appeared in PhpStorm 6, and now when creating RESTful applications, requests (for example, GET, POST and PUT) can be made directly from PhpStorm via the Tools | Test RESTful Web Service . Examples of using the built-in client REST are in our blog.

image

For automatic compilation of Sass, LESS, SCSS in CSS, and CoffeeScript or Typescript in Javascript, you can use the built-in File Watchers plugin.

PhpStorm supports CoffeeScript, TypeScript, and Dart debugging using source maps . Minified .js files can also be debugged using source maps.

Note that all WebStorm functionality is available in PhpStorm (some components are not installed by default and are available as free plugins).

Open API for developing plugins for PhpStorm


In PhpStorm 6.0, an open API has appeared that extends PHP support when writing external plug-ins. There are already plugins for PhpStorm for a variety of frameworks, and we want to make life easier for their developers. Soon we will tell more about it.

Appearance



image

As the entire IDE line from JetBrains is updated, an increasing number of users are starting to work with the dark color scheme of Darcula. New PhpStorm 6 and this will please you.

What's next?


Download , try. A 30-day trial period is attached.

Upgrading to version 6 is free for anyone who purchased a license after March 12, 2012.

Found a bug? About bugs tell us the tracker , please! If the tracker already has a similar error message, vote for it: it helps to understand how unpleasant the error is.

Source: https://habr.com/ru/post/172759/


All Articles