PHP Hierarchy View Actions
We’ve introduced the ‘Hierarchies View Support for PHP‘ recently. Let’s now review the appropriate actions.
First, class hierarchy. There are several actions accessible from the upper panel and context menu.
Blue arrow points to the base element for current view. It is an element you invoked hierarchy on.
I’ll go through the most important actions. “Class Hierarchy” shows subtypes and supertypes in one tree. This is not applicable when tree base element is an interface. “Supertypes Hierarchy” — is a tree with a base element at the root, children correspond to extended classes and implemented interfaces. “Subtypes Hierarchy” — is a tree with a base element at the root, children correspond to classes (if base element is a class) or classes and interfaces (if it’s an interface) which are derived from current. “Base On This Class” changes the base element.
Call hierarchy view actions differ a bit.
Here you can limit shown items to a chosen scope. “Caller Methods Hierarchy” action shows methods which call the base function, “Callee Methods Hierarchy” shows methods which are called within the base function.
Two more actions are the same in all hierarchies: “Jump to Source” brings you directly to item description in the code. “Find usages” will list all usages in the selected scope.
Working with Windows Azure SQL Database in PhpStorm
PhpStorm provides us the possibility to connect to Windows Azure SQL Database right from within the IDE. In this post, we’ll explore several options that are available for working with Windows Azure SQL Database (or database systems like SQL Server, MySQL, PostgreSQL or Oracle, for that matter): …
Change signature refactoring in PhpStorm
A very powerful refactoring is the Change signature refactoring in PhpStorm. It enables us to modify a function signature in many ways: we can change the function name, change its visibility, add, remove and reorder parameters as well as rename parameters. (more…)…
Folding for imports in PhpStorm 6.0
In PhpStorm 6, we've introduced code folding for imports. Any list of imports will now be folded into a single line. This greatly reduced clutter in your editor when having a lot of imports! (more…)…
Drag & Drop Project Files to Remote Hosts in PhpStorm
The Remote Host pane allows us to work directly on a remote server through FTP, FTPS, SFTP or a local/network folder. A lot of people asked us to add drag & drop to the Remote Host pane in PhpStorm. Good news: PhpStorm 6 comes with drag & drop as well as copy & paste support from the pro…