REFACTORING Lightning-Smart - JetBrains PHP IDE Enjoy Productive ... • Testing PHPUnit, Behat,...
Embed Size (px)
Transcript of REFACTORING Lightning-Smart - JetBrains PHP IDE Enjoy Productive ... • Testing PHPUnit, Behat,...
Lightning-Smart PHP IDE
Enjoy ProductivePHP Development
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
Search everywhere DoubleShift DoubleFind action Ctrl+Shift+A AOpen corresponding Alt+0...9 0... 9tool window Open Preferences Ctrl+Alt+S ,
Find Ctrl+F FFind in path Ctrl+Shift+F FFind usages Alt-F7 F7Find usages in file Ctrl+F7 F7 Show usages Ctrl+Alt+F7 F7
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 LGo 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 TView 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+/ /Extendsyntax-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 Expandcode block Ctrl+NumPad+ +Collapse code block Ctrl+NumPad Expandall Ctrl+Shift+Equals +Collapse all Ctrl+Shift+Minus Reformat code Ctrl+Alt+L LAuto-indent line Ctrl+Alt+I IClose 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 DRerun 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 RToggle breakpoint Ctrl+F8 F8
Learn more and download your free
30-day trial jetbrains.com/phpstorm
*20% discount after 1st year
Business 199* 19.90*
Individual 89* 8.90*
Open source Freeproject
PHP Code editor PHP 5.37.2
PHP Mess Detector
Smarty, Twig, Blade
Testing PHPUnit, Behat, PHPSpec
Remote PHP interpreters SSH, Vagrant, Docker,
Debugging & profiling Xdebug, Zend debugger
Terminal & Tools Local and via SSH
Databases & SQL 10+ dialects and refactorings
Frameworks Symfony, Drupal,
Yii, Laravel, Joomla!
Remote hosts deployment FTP/SFTP/FTPS
Local or mounted folder
Behat, PHPSpec, Codeception
Issue trackers integration With task context switching
Built-in web server
CSS/Sass/LESS/SCSS + Stylus, Compass & more
React, Meteor, Vue.js, Emmet
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
oninyour application at every step. It works with Xdebug
andZend 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 thats 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
toVersion Control Systems integration, support for remote
deployment, databases/SQL, command-line tools, Vagrant,
Composer, REST Client, and many other tools.
Check your PhpStorm feature usage and get tips & tricks toenhance your productivity in HELP|Productivity Guide