refactoring lightning-smart - jetbrains · lightning-smart php ide enjoy productive ... • testing...

Post on 17-May-2018

222 Views

Category:

Documents

2 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Lightning-Smart PHP IDE

Enjoy ProductivePHP Development

REFACTORING

Refactor this Ctrl + Alt + Shift + T ⌃ TRename Shift + F6 ⇧F6Safe delete Alt + Delete ⌘ ⌦Inline variable Ctrl + Alt + N ⌘ ⌥ NExtract Method / Variable Ctrl + Alt + M / V ⌘ ⌥ M / V Extract Parametert / Constant Ctrl + Alt + P  / C ⌘ ⌥ P / C  

GENERAL

Search everywhere Double Shift   Double⇧  Find action Ctrl + Shift +A  ⌘⇧AOpen corresponding Alt + 0 ... 9 ⌘ 0 ... ⌘ 9tool window Open Preferences Ctrl + Alt + S ⌘ ,

SEARCH

Find Ctrl + F   ⌘ F Find in path Ctrl + Shift + F  ⌘⇧FFind usages Alt-F7 ⌥ F7 Find usages in file Ctrl + F7 ⌘ F7 Show usages Ctrl + Alt + F7 ⌥ ⌘ F7

NAVIGATION

Go to declaration Ctrl + B, Ctrl + Click  ⌘ B, ⌘ СlickGo to class Ctrl + N  ⌘ OGo to file Ctrl + Shift + N  ⌘⇧OGo to symbol Ctrl + Alt + Shift + N  ⌘ ⌥ OGo to line Ctrl + G  ⌘ L Go to type declaration Ctrl + Shift + B ⌃⇧BGo to super-method  Ctrl + U  ⌘ Uor super-classView recent files Ctrl-E  ⌘ EJump to navigation bar Alt-Home  ⌘ ↑ Jump to editor Esc  ⎋Go to previous editor tab Alt + left   ⌘⇧[Go to next editor tab Alt + right  ⌘⇧]Quick definition Ctrl + Shift + I  ⌥ Space, ⌘ YMove to code block start  Ctrl + [  ⌘ ⌥ [ Move to code block end Ctrl + ] ⌘ ⌥ ] Move to matching brace Ctrl + Shift + M  ⌃ MNavigate to last Ctrl + Shift  ⌘⇧⌨edit location  + BackspacePrevious highlighted error Shift + F2 ⇧F2 Next highlighted error F2 F2

VCS AND LOCAL HISTORY

VCS operations popup Alt + backquote ⌃ V Commit to VCS Ctrl + K  ⌘ K Update project Ctrl + T  ⌘ T View recent changes Alt + Shift + C ⌥⇧C

EDITING Basic code completion Ctrl + Space ⌃ SpaceShow intention actions Alt + Enter ⌥ ↩and quick-fixesQuick documentation lookup Ctrl + Q F1 , ⌃ JParameter info Ctrl + P ⌘ PGenerate code Alt + Insert  ⌘ N, ⌃↩Surround with... Ctrl + Alt + T  ⌘ ⌥ TInsert live template Ctrl + J  ⌘ JComment / uncomment line Ctrl + /  ⌘ /Comment / uncomment block Ctrl + Shift + /  ⌘⇧/Extend syntax-aware selection Ctrl + W  ⌥↑Shrink syntax-aware selection Ctrl + Shift + W  ⌥↓Add or remove caret Alt + Click  ⌥ClickSelect all occurrences Shift + Ctrl + Alt + J  ⌘ ⌃ G Select next occurrence Alt + J  ⌃ G  Unselect occurrence Alt + Shift + J  ⌃⇧GUnselect all occurrences Esc ⎋or caretsDuplicate current line Ctrl + D  ⌘ DDelete line Ctrl + Y ⌘ ⌨Move line up Alt + Shift + Up  ⌥⇧↑Move line down Alt + Shift + Down  ⌥⇧↓Join lines Ctrl + Shift + J  ⌃⇧JSplit line Ctrl + Enter  ⌘ ↩Delete to word start  Ctrl + Backspace  ⌥ ⌨Delete to word end Ctrl + Delete  ⌥ ⌦Expand code block Ctrl + NumPad +  ⌘ +Collapse code block Ctrl + NumPad  –  ⌘ –Expand all Ctrl+Shift+Equals ⌘⇧+Collapse all Ctrl+Shift+Minus ⌘⇧ –Reformat code Ctrl + Alt + L  ⌘ ⌥ LAuto-indent line Ctrl + Alt + I  ⌘ ⌥ I Close active editor tab Ctrl + F4 ⌘ W

RUNNING AND DEBUGGING

Run / Debug Shift + F10 / F9  ⌃ R / ⌃ DSelect configuration and run Alt + Shift + F10  ⌃ ⌥ RSelect configuration and debug Alt + Shift + F9  ⌃ ⌥ D Rerun tests Alt + Shift + R  ⌃ ⌘ RRun Gulp / Grunt / npm task Alt + F11  ⌥ F11Step over / Step into F8 / F7 F8 / F7Step out Shift + F8  ⇧F8Evaluate expression Alt + F8 ⌥ F8Resume F9  ⌘ ⌥ R Toggle breakpoint Ctrl + F8 ⌘ F8

48

31

Learn more and download your free

30-day trial jetbrains.com/phpstorm

*20% discount after 1st year

Subscription pricing

Yearly Monthly

Business € 199* € 19.90*

Individual € 89* € 8.90*

Open source Freeproject

Supported technologies

• PHP Code editor PHP 5.3–7.2

Code analysis

Code completion

Refactorings

Code generation

PHPDoc support

Quick fixes

PHP_CodeSniffer

PHP Mess Detector

• Smarty, Twig, Blade

• Testing PHPUnit, Behat, PHPSpec

and Codeception

• Remote PHP interpreters SSH, Vagrant, Docker,

Docker Compose

• Debugging & profiling Xdebug, Zend debugger

• Terminal & Tools

Local and via SSH

• Databases & SQL

10+ dialects and refactorings

• Frameworks Symfony, Drupal,

WordPress, Zend,

Magento, CakePHP,

Yii, Laravel, Joomla!

• Git / SVN / HG / CVS / TFS ...

• Remote hosts deployment FTP / SFTP / FTPS

Local or mounted folder

• Emmet

• Behat, PHPSpec, Codeception

• Issue trackers integration With task context switching

• Built-in web server

• HTML5 / XML / Schema

• CSS / Sass / LESS / SCSS

+ Stylus, Compass & more

• JavaScript ECMAScript 6, TypeScript,

Node.js, AngularJS,

React, Meteor, Vue.js, Emmet

Key features

Smart PHP code editor

PhpStorm features an editor that actually “gets” your PHP

code and deeply understands its structure. The IDE provides

the best code autocompletion, refactorings, on-the-fly error

prevention, supports language mixtures and more. Automated

refactorings treat your code with care, helping you make global

project changes easily and safely.

Debugging, testing and profiling

PhpStorm is renowned for its zero-configuration Visual

Debugger, providing extraordinary insight into what goes

on in your application at every step. It works with Xdebug

and Zend Debugger, and can be used both locally and

remotely. Testing with PHPUnit, Behat, PHPSpec, and

Codeception as well as profiler integration are also available.

Code quality analysis

Hundreds of code inspections verify your code as you type, inspecting

the whole project for possible errors or code smells. PHPDoc support,

code (re)arranger, code formatter with code style configuration and

other features help you write neat code that’s easy to support.

REST API development

The editor-based REST client will assist you in composing

HTTP requests, sending them to web-services, viewing

responses, and analyzing them.

Complete development environment

Perform many routine tasks right from the IDE, thanks

to Version Control Systems integration, support for remote

deployment, databases / SQL, command-line tools, Vagrant,

Composer, REST Client, and many other tools.

Productivity Guide

Check your PhpStorm feature usage and get tips & tricks to enhance your productivity in HELP | Productivity Guide

top related