php storm 8 the most intelligent php ide
TRANSCRIPT
![Page 1: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/1.jpg)
Presenter: Tanmaya Biswal, Mindfire SolutionsDate: 03/02/2015
![Page 2: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/2.jpg)
Agenda
Presenter: Tanmaya Biswal, Mindfire Solutions
Why PhpStorm ?What’s new in PhpStorm 8 ?Frameworks Support Code FormattingCode Quality AnalysisEasy Code Navigation & Search Easy XDebuggingJavaScript DebuggingHTML & CSS Editor supportVersion Control Support Working with Remote PHP Interpreters Tips and TricksLive templateHow to Install PhpStorm ?
![Page 3: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/3.jpg)
Why PhpStorm ?
Smart PHP Code Editor Code Quality Analysis Development Environment HTML/CSS/JavaScript Editor Debugging and Testing Cross-platform Experience
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 4: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/4.jpg)
Popularity
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 5: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/5.jpg)
What’s new in PhpStorm 8 ?
Laravel’s Blade templates BDD for PHP using Behat Full WordPress support Remote PHP interpreters Advanced AngularJS support IDE Improvements
Multiple Carets and Selections Work with individual files without creating a project
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 6: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/6.jpg)
Frameworks Support The existing support of template engines and
command-line tools is boosted with a more high-level feature: an MVC view for Symfony2 & Yii frameworks.
Plugins are also available bringing various framework-specific features, such as code completion, navigation, type inference and other IDE best practices for various PHP frameworks (Symfony, Drupal, Magento, Zend etc.).
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 7: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/7.jpg)
Code Formatting Code formatter with code style configuration and
other features help you write neat code that's easy to support.(Project Settings | Editor | Code Style | PHP)
PhpStorm contains built-in PSR1/PSR2, Symfony2, Zend, Drupal & other standards compliant code formatting.
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 8: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/8.jpg)
Code Quality Analysis Hundreds of code inspections verify your code as
you type and inspect the whole project for possible errors or code smells.
Quick-fixes for most inspections make it easy to fix or improve the code instantly. Alt+Enter shows appropriate options for each inspection.
Ex: PHP Code Sniffer & Mess Detector Smart Duplicated Code Detector
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 9: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/9.jpg)
Easy Code Navigation & Search
Navigate to Class: Ctrl+N (CMD+O on Mac OS X) Navigate to File: Ctrl+Shift+N (Shift+Cmd+O on
Mac OS X) Navigate to Symbol: Ctrl+Shift+Alt+N
(Alt+CMD+O on Mac OS X) Search Everywhere: (Double Shift) Navigate to Declaration: Ctrl+Click (CMD+Click
on Mac OS X) Next / Previous Method: Alt+Down / Up Recent Files: Ctrl+E (or CMD+E on Mac OS X) Navigate to Last Edit Location:
Ctrl+Shift+Backspace (Shift+CMD+Delete on Mac OS X)
Go to Implementation: Ctrl+Alt+B (Alt+CMD+B on Mac OS X)
Highlight Usages in File: Ctrl+Shift+F7 (Shift+CMD+F7 on Mac OS X)
Find Usages: (Shift+U)
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 10: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/10.jpg)
Easy XDebugging Download and install the Xdebug Enabling XDebug integration with the PHP engine
[xdebug] zend_extension="/usr/lib/php5/20121212/xdebug.
so" xdebug.remote_enable=1 xdebug.remote_autostart=1 xdebug.default_enable=1 xdebug.remote_handler=dbgp xdebug.remote_mode=req xdebug.remote_host=localhost xdebug.remote_port=9000 xdebug.idekey="PHPSTORM" Presenter: Tanmaya Biswal, Mindfire
Solutions
![Page 11: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/11.jpg)
JavaScript Debugging Install the JetBrains Chrome extension Set a Breakpoints Start a Debugging Session Debugging! Stepping through Code
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 12: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/12.jpg)
HTML editor support
1. Editing HTML using PhpStorm2. Open in Browser3. Working with Live Edit HTML is quite verbose. To write HTML code
faster and more efficient, PhpStorm lets us use Emmet, which provides a shorthand for lots of things.
For example, we can type p>lorem and hit TAB to expand into a paragraph with Lorem Ipsum text.
A more advanced example would be div#container>div.span4*3>img.thumbnail+p>lorem which expands into a container div with a grid system in which each cell contains an image and a paragraph.
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 13: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/13.jpg)
CSS editor supportJust like when editing PHP code, PhpStorm comes with a rich editor
for CSS. It comes with code completion, formatting, intentions, navigation and so on.
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 14: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/14.jpg)
CSS editor support(cont..)PhpStorm comes with several intentions for CSS as well. There are a lot of
them, for example to change colors, expanding CSS, extracting images, replacing quotes, or to optimize properties:
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 15: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/15.jpg)
CSS editor support(cont..)Using the Show Applied Styles for Tag context menu on any HTML
tag, we can see which styles are effectively applied to a DOM element and where the various CSS properties originate from.
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 16: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/16.jpg)
Version Control Support It supports:SVN, CVS, GIT, Mercurial
From the VCS menu, we can: Commit and update a file/directory or an entire project. Work with changelists. Diff and rollback (revert) changes. View revision history for file/directory. Configure of common version control system settings. Open the Advanced Version Control tool window, with multiple
dedicated tabs for viewing History, Status, Update Info and so on.
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 17: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/17.jpg)
Working with Remote PHP Interpreters
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 18: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/18.jpg)
Tips and Tricks PhpStorm allows creating a tempopary text file or a piece of code,
and then just throw it away, when it's not needed any more.(Alt+Ctrl+Shift+Insert)
Find code occurrences to change.(Alt+Ctrl+Shift+J) Delete one line.(Ctrl+Y) Duplicate one line. (Ctrl+D) The Database tool window provides access to basic info about the
database objects. (Ctrl+Q) Code completion for sql query. You can quickly view the image referenced at caret by using the
Quick Definition (Ctrl+Shift+I). The underlying image will be opened in a popup instead of a separate editor tab.
Format your Code(Alt+Ctrl+Shift+L) Local history of a file(Ctrl+Shift+J) Rename your css selectors from html file.(Shift+F6) Bookmark.(F11)
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 19: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/19.jpg)
Live Templates (Snippets) we will see what Live Templates (Snippets) are and how they can be
used to insert frequently-used snippets into our source code quickly.
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 20: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/20.jpg)
How to Install PhpStorm ?
Follow the below links: https://confluence.jetbrains.com/display/PhpStorm/PhpStorm+Early
+Access+Program https://www.jetbrains.com/phpstorm/help/system-requirements-
and-installation.html https://www.youtube.com/watch?v=-wamR3WJt8I
![Page 21: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/21.jpg)
References https://confluence.jetbrains.com/display/PhpStorm/Tutorials http://blog.jetbrains.com/ruby/2014/03/whats-mining-multiple-
cursors-and-selection/ https://confluence.jetbrains.com/display/PhpStorm/CSS+Editor+in+
PhpStorm https://www.jetbrains.com/phpstorm/documentation/phpstorm-
video-tutorials.jsp https://confluence.jetbrains.com/display/PhpStorm/Version+Control
+Systems+Support+in+PhpStorm
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 22: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/22.jpg)
Any Questions ??
Presenter: Tanmaya Biswal, Mindfire Solutions
![Page 23: Php Storm 8 The Most Intelligent php ide](https://reader030.vdocuments.us/reader030/viewer/2022020218/55a61b2b1a28abcc098b4747/html5/thumbnails/23.jpg)
Thank You !!
Presenter: Tanmaya Biswal, Mindfire Solutions