Lightning-Smart PHP IDE Enjoy Productive PHP Development
Total Page:16
File Type:pdf, Size:1020Kb
REFACTORING Refactor this Ctrl + Alt + Shift + T ⌃ T Lightning-Smart Rename Shift + F6 ⇧F6 PHP IDE Safe delete Alt + Delete ⌘ ⌦ Inline variable Ctrl + Alt + N ⌘ ⌥ N Extract Method / Variable Ctrl + Alt + M / V ⌘ ⌥ M / V EDITING Extract Parametert / Constant Ctrl + Alt + P / C ⌘ ⌥ P / C Basic code completion Ctrl + Space ⌃ Space GENERAL Show intention actions Alt + Enter ⌥ ↩ and quick-fixes Search everywhere Double Shift Double⇧ Quick documentation lookup Ctrl + Q F1 , ⌃ J Find action Ctrl + Shift +A ⌘⇧A Parameter info Ctrl + P ⌘ P Open corresponding Alt + 0 ... 9 ⌘ 0 ... ⌘ 9 Generate code Alt + Insert ⌘ N, ⌃↩ tool window Surround with... Ctrl + Alt + T ⌘ ⌥ T Open Preferences Ctrl + Alt + S ⌘ , Insert live template Ctrl + J ⌘ J Comment / uncomment line Ctrl + / ⌘ / SEARCH Comment / uncomment block Ctrl + Shift + / ⌘⇧/ Extend syntax-aware selection Ctrl + W ⌥↑ Find Ctrl + F ⌘ F Shrink syntax-aware selection Ctrl + Shift + W ⌥↓ Find in path Ctrl + Shift + F ⌘⇧F Add or remove caret Alt + Click ⌥Click Find usages Alt-F7 ⌥ F7 Select all occurrences Shift + Ctrl + Alt + J ⌘ ⌃ G Find usages in file Ctrl + F7 ⌘ F7 Select next occurrence Alt + J ⌃ G Show usages Ctrl + Alt + F7 ⌥ ⌘ F7 Unselect occurrence Alt + Shift + J ⌃⇧G Unselect all occurrences Esc ⎋ NAVIGATION or carets Duplicate current line Ctrl + D ⌘ D Go to declaration Ctrl + B, Ctrl + Click ⌘ B, ⌘ Сlick Delete line Ctrl + Y ⌘ ⌨ Go to class Ctrl + N ⌘ O Move line up Alt + Shift + Up ⌥⇧↑ Go to file Ctrl + Shift + N ⌘⇧O Move line down Alt + Shift + Down ⌥⇧↓ Go to symbol Ctrl + Alt + Shift + N ⌘ ⌥ O Join lines Ctrl + Shift + J ⌃⇧J Go to line Ctrl + G ⌘ L Split line Ctrl + Enter ⌘ ↩ Go to type declaration Ctrl + Shift + B ⌃⇧B Delete to word start Ctrl + Backspace ⌥ ⌨ Go to super-method Ctrl + U ⌘ U Delete to word end Ctrl + Delete ⌥ ⌦ or super-class Expand code block Ctrl + NumPad + ⌘ + View recent files Ctrl-E ⌘ E Collapse code block Ctrl + NumPad – ⌘ – Jump to navigation bar Alt-Home ⌘ ↑ Expand all Ctrl+Shift+Equals ⌘⇧+ Jump to editor Esc ⎋ Collapse all Ctrl+Shift+Minus ⌘⇧ – Go to previous editor tab Alt + left ⌘⇧[ Reformat code Ctrl + Alt + L ⌘ ⌥ L Go to next editor tab Alt + right ⌘⇧] Auto-indent line Ctrl + Alt + I ⌘ ⌥ I Quick definition Ctrl + Shift + I ⌥ Space, ⌘ Y Close active editor tab Ctrl + F4 ⌘ W Move to code block start Ctrl + [ ⌘ ⌥ [ Move to code block end Ctrl + ] ⌘ ⌥ ] RUNNING AND DEBUGGING Move to matching brace Ctrl + Shift + M ⌃ M Navigate to last Ctrl + Shift ⌘⇧⌨ Run / Debug Shift + F10 / F9 ⌃ R / ⌃ D edit location + Backspace Select configuration and run Alt + Shift + F10 ⌃ ⌥ R Previous highlighted error Shift + F2 ⇧F2 Select configuration and debug Alt + Shift + F9 ⌃ ⌥ D Next highlighted error F2 F2 Rerun tests Alt + Shift + R ⌃ ⌘ R Run Gulp / Grunt / npm task Alt + F11 ⌥ F11 VCS AND LOCAL HISTORY Step over / Step into F8 / F7 F8 / F7 Step out Shift + F8 ⇧F8 VCS operations popup Alt + backquote ⌃ V Evaluate expression Alt + F8 ⌥ F8 Commit to VCS Ctrl + K ⌘ K Enjoy Productive Resume F9 ⌘ ⌥ R Update project Ctrl + T ⌘ T 4831 Toggle breakpoint Ctrl + F8 ⌘ F8 View recent changes Alt + Shift + C ⌥⇧C PHP Development Key features Supported technologies Smart PHP code editor Debugging, testing and profiling • PHP Code editor • Frameworks PHP 5.3–7.2 Symfony, Drupal, PhpStorm features an editor that actually “gets” your PHP PhpStorm is renowned for its zero-configuration Visual Code analysis WordPress, Zend, code and deeply understands its structure. The IDE provides Debugger, providing extraordinary insight into what goes Code completion Magento, CakePHP, the best code autocompletion, refactorings, on-the-fly error on in your application at every step. It works with Xdebug Refactorings Yii, Laravel, Joomla! prevention, supports language mixtures and more. Automated and Zend Debugger, and can be used both locally and Code generation refactorings treat your code with care, helping you make global remotely. Testing with PHPUnit, Behat, PHPSpec, and • Git / SVN / HG / CVS / TFS ... PHPDoc support project changes easily and safely. Codeception as well as profiler integration are also available. • Remote hosts deployment Quick fixes FTP / SFTP / FTPS PHP_CodeSniffer Local or mounted folder PHP Mess Detector • Emmet • Smarty, Twig, Blade • Behat, PHPSpec, Codeception • Testing PHPUnit, Behat, PHPSpec • Issue trackers integration and Codeception With task context switching • Remote PHP interpreters • Built-in web server SSH, Vagrant, Docker, • HTML5 / XML / Schema Code quality analysis Complete development environment Docker Compose • CSS / Sass / LESS / SCSS Hundreds of code inspections verify your code as you type, inspecting Perform many routine tasks right from the IDE, thanks • Debugging & profiling + Stylus, Compass & more the whole project for possible errors or code smells. PHPDoc support, to Version Control Systems integration, support for remote Xdebug, Zend debugger • JavaScript code (re)arranger, code formatter with code style configuration and deployment, databases / SQL, command-line tools, Vagrant, • Terminal & Tools ECMAScript 6, TypeScript, other features help you write neat code that’s easy to support. Composer, REST Client, and many other tools. Local and via SSH Node.js, AngularJS, • Databases & SQL React, Meteor, Vue.js, Emmet 10+ dialects and refactorings Subscription pricing Yearly Monthly REST API development Productivity Guide Business € 199* € 19.90* The editor-based REST client will assist you in composing Check your PhpStorm feature usage and get tips & tricks HTTP requests, sending them to web-services, viewing to enhance your productivity in HELP | Productivity Guide Individual € 89* € 8.90* responses, and analyzing them. Open source Free project *20% discount after 1st year Learn more and download your free 30-day trial jetbrains.com/phpstorm.