Built-in Server in WebStorm 6

Have you ever started writing an app only to realize that you need a simple local webserver?

Never fear, WebStorm 6 is here!

Simply open “http://localhost:63342/”, append your project name, and WebStorm will serve up your site for you!

Continue reading

Posted in Cool Feature, WebStorm | Tagged | 9 Comments

CoffeeScript Debugging with Sourcemaps in WebStorm 6 / PhpStorm 6

Sourcemaps help to solve the problems in the JavaScript ecosystem introduced with JS minification and transpiling from other languages (e.g., CoffeeScript and TypeScript):

  • Sourcemaps allow you to navigate between minified JavaScript files and the original JavaScript files before they were minified.
  • Sourcemaps allow you to navigate between languages that compile to JavaScript (CoffeeScript, TypeScript, etc.) and the JavaScript files that are output in the compilation process.

WebStorm 6 and PhpStorm 6 can now leverage the information provided by sourcemaps and use it to debug JavaScript files. For example, you can place breakpoints in a CoffeeScript file and the debugger will pause at the breakpoint and display the relevant information from that line (variables in context, etc.).

Continue reading

Posted in Cool Feature, PhpStorm, WebStorm | Tagged , | 5 Comments

PhpStorm 6 Webinar on March 26th – More Tools to Develop Smarter, Not Harder

Join us Tuesday, March 26th for our free webinar, PhpStorm 6 – More Tools to Develop Smarter, Not Harder. JetBrains Technical Evangelist for PHP and .NET Maarten Balliauw will go through the most important features of the latest PhpStorm 6 release.

Continue reading

Posted in PhpStorm, Sales and Promotions | Tagged , | 12 Comments

PhpStorm 6.0 released: composer, code (re)arranger, new refactorings, REST Client, Darcula & more

PhpStorm 6.0, the new major release of our professional PHP IDE, is now available for download!

With this release, we invite all PHP developers to redefine their productivity and adopt the best technologies available today to quickly produce neat and well-tested code.

The key features of PhpStorm 6 include:

  • Composer dependency manager for PHP support
  • Code (re)arranger – control the structure of your existing and generated code
  • New refactorings: Change Signature, Pull Up/Push Down class members, and Move Class
  • Smarter namespace handling – Auto-import, Optimize Imports and more
  • Fully customisable templates, including PHPDoc
  • More code inspections, smarter code completion, and better runtime error prevention
  • New database schema editor and change tracking tools

PhpStorm 6 also provides a brand new web toolkit:

  • Built-in REST Client to test RESTful web services right from the IDE
  • File Watchers – for easy Sass, LESS, SCSS, CoffeeScript, TypeScript transpilation
  • Full-featured debugging of TypeScript, Dart or CoffeeScript with source maps
  • Refined handling of JS libraries, including minified versions detection
  • Re-worked HTML structure view with support for HTML5
  • Emmet abbreviations support for faster HTML & CSS coding

And last but not least, PhpStorm 6 features a fresh IDE look and feel, Retina-ready icons, and Darcula, a new native dark UI theme for the IDE and the editor.

This version also includes an open API exposing our PHP support to 3rd party plugins. We are already seeing powerful plugins that provide sophisticated features for various popular frameworks emerging and encouraging our community to create the best experience together. Stay tuned for more information on this in the next weeks.

Read more about these and other new features on the PhpStorm website and download a 30-day trial for your platform.

PhpStorm 6.0 is a free update for you if you purchased your license after Mar 12, 2012.

Develop smarter, not harder, with PhpStorm 6!
– JetBrains PhpStorm Team

Posted in PhpStorm, Release Announcements | Tagged , | 120 Comments

Refactoring for classes in PhpStorm 6: Move Class

Moving code around is an essential part of application design and maintenance, but it may become a tedious task in modern code utilising namespaces and the PSR0 file layout convention.

Move Class refactoring is a reliable tool that will remove the burden of maintaining project consistency and allow you to use move as a simple atomic action, allowing you to keep your focus on the design decisions, that is especially important as a part of complex high-level refactorings.

Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , | 2 Comments

PHPUnit installation via Composer in PhpStorm

Since version 3.7, PHPUnit allows us to install the test runner and optional dependencies using Composer. With PhpStorm 6, this workflow is now supported from the IDE.

Using both the bundled Composer support and PhpStorm’s unit testing support, we can install PHPUnit via Composer without any hassle. Let’s find out how.

Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , , | 7 Comments

Arrange your code automatically with PhpStorm (re)arranger

The easiest way to enhance code readability is to standardize its organization. For example, you can specify methods to be ordered after fields or keep dependent methods together.

The good news is that starting with version 6, you can have your code rearranged automatically! All code generated by PhpStorm will follow these rules, so you don’t have to worry about it at every turn.

Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , | 9 Comments

Composer support in PhpStorm

One of the great things that happened in PHP world was the introduction of Composer, a dependency manager for PHP which allows us to specify dependencies for our project and have Composer install and update them for us. With PhpStorm 6, we’re taking Composer support one step further with full support for this great tool in the UI and in PhpStorm’s command line tool.

In this post, we’ll cover our new tooling support:

  • Creating a new project with Composer
  • Init Composer
  • Add dependencies
  • Command line tool support

Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , | 7 Comments

Refactoring for Class Members in PhpStorm 6: Pull Up and Push Down

As you work on a big project, you often face the need to refactor your code to maintain it properly. Likewise, there are many situations when you start to add functionality from the bottom of the class hierarchy and then realize it can be also used in more common cases (otherwise some parts of your code may become obsolete for the parent class but still be valid for one of its children).

To fix this, you copy a method or field from one class, paste it into another and fix internal references in the member. This isn’t so difficult, yet rather annoying if done over and over.

With PhpStorm, both of these tasks become much easier. To help you move class members thought the hierarchy, the IDE offers you two helpful refactorings: Pull Members Up and Push Members Down.

Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , | 4 Comments

WebStorm 6.0 released: adds TypeScript, debugging with source maps, fresh UI and much more

WebStorm 6.0, a new major update of our JavaScript IDE is available for immediate download and we are very excited to tell you what’s in it!

First, WebStorm allows for smarter and more streamlined web development with modern languages such as TypeScript, CoffeeScript and Dart. In addition to providing a first-class code editor for these languages, WebStorm 6 offers:

  • Automatic compilation/transpilation of these higher-level languages into those recognized by browsers on all supported platforms.
  • Full-featured debugging of TypeScript, Dart or CoffeeScript with source maps.

And third, new IDE look and feel, and Darcula, a new native dark UI theme for the IDE and the editor are finally available for WebStorm users.

Other noteworthy features include:

  • Revised approach to handling JavaScript libraries, allowing JS developers to work transparently with release versions of files stored in the project: the IDE uses them only when needed and ignores them the rest of the time.
  • Live Edit, introduced in the previous release, now brings improved usability and support for HTML5 live editing.
  • JavaScript code validation against Google Closure Linter added to the already available JSHint, JSLint, and own custom inspections.
  • Improved HTML and CSS, Sass and Less coding, with a re-designed HTML structure view and support for even faster coding using Emmet snippets in the editor.
  • Built-in HTTP server and REST Client.

This is of course far from all. Read more about these and other new features on WebStorm web site and download your 30-day trial for your platform.

WebStorm 6.0 is a free update for everyone who purchased their license after Mar 6, 2012

Posted in Release Announcements, WebStorm | 32 Comments