How to make Phpstorm your own IDE?

Source: Internet
Author: User

One of the PHP development artifacts is bound to speak of Phpstorm, the strength of the tool is obvious to all, the development of tools, even if powerful, full-featured, is also a tool, it is important how you look at it and use it. Zend Studio, which has been used for a long time, has recently tried phpstorm, documenting common operations in order to learn together.
Phpstorm itself is a charge of the software, the economic base or the proposal to purchase a registration number, support genuine. Of course, you can download cracked version of, about how to install and crack, not tired of, online related resources are also many, we can search the next, here record the first steps after installation, the relevant settings and configuration of Phpstorm:
1. How to set the default encoding for Phpstorm, such as UTF-8?
The Phpstorm encoding is divided into IDE Encoding and Project Encoding, which are set up by opening file->setting->editor->file Encoding settings, such as the IDE Encoding is set to Gb2312,project Encoding to UTF-8.
2. How to set the theme style of Phpstorm?
How to make their own IDE to create a dedicated IDE, there will always be a sense of accomplishment in the psychological, then, how to set the Phpstorm interface style imaging sublime that all gray style?
Open file->setting->appearance & Behavior->appearance->ui option, select Theme, click the drop-down menu, default to IntelliJ, Select Darcula and click Apply to see your editor's interface become cool and dusty.
3, how to set the theme of the editing area?
After a step, change the theme of the Phpstorm interface style, found that the theme of the editing area has not changed, here with other editors a little different, phpstorm theme style is to separate the interface and editing area, the following to set the theme style of the editing area. Turn on
File->setting->editor->colors & Fonts->font, see the Scheme drop-down box on the right, this is the theme style of the editing area. Choose the style you like and you can. It is important to note that after choosing a good theme, for example I chose Warmneon, but after apply, the text of the editing area is too small, here to change the font needs to click Save As, custom theme name, and then you can change the editor font under the Primaryfont, Size and line spacing.
4, how to install the theme of their own download?
Download your favorite theme in the official Phpstorm theme, download it in XML format, and copy the file to the Phpstorm configuration directory. Note that this refers to the configuration directory is not the installation directory, but in the C disk corresponding to a configuration directory, generally under C:\Users\Administrator:
C:\Users\Administrator.WebIde100\config\colors, and then change the suffix XML to ICBL to File->setting->editor->colors & See under the scheme of fonts.
5. How do I display the line number?
If your edit area does not show line numbers, you can display the Settings->editor->appearance tab item by using the following settings, and check show lines numbers.
6. How do I add plugins?
Search repositories, Plugins, Settings, File----Recommend installing live edit to view edits in real time in the browser. In addition, if you are learning Linux and are not familiar with VIM, you can also install Ideavim to use vim to edit the code, after successful installation, you will be prompted to restart the IDE, follow the prompts to restart.
7, how to Chinese phpstorm?
As to the problem of phpstorm, if you are annoyed with English, you can make the editor a Chinese language.
The following steps are in the Chinese process:
(1) First download and install the original PHPSTORM10
(2) Copy the 10\lib file from the Phpstorm installation directory C:\Program files (x86) \jetbrains\phpstorm Resources_en.jar directory and rename it to Resources_cn.jar
(3) Double hit Open Resources_cn.jar (note is open and not extracted), the download of the Chinese package ZH_CN directory of all the files into the Resources_cn.jar file just opened in the messages directory, and save.
(4) Copy the Resources_cn.jar file back to
C:\Program Files (x86) \jetbrains\phpstorm 10\lib directory, that is, the completion of Chinese.
Note: If garbled after opening, remove Resources_cn.jar, then open Phpstorm, and then on the menu, select
Settings, Appearance & Behavior---appearance, File----Select override default fonts by (not recommended)
Name:microsoft Yahei (select any Chinese font)
Then copy the Resources_cn.jar to the. \lib directory and re-open the Phpstorm to display the Chinese correctly.
8, how to quickly select a row?
Move the mouse to the row you want to select, double-click to select any character, double-click again to select the entire row.
9, how to quickly copy a line?
Phpstorm quickly copy a row, just move the mouse cursor to the target line, directly ctrl+d, you can copy the target line to the next line, but also to make a quick copy of the code fragment.
10, Phpstorm Some of the power of shortcut keys:
Combination shortcut key 1:

Ctrl+OFind the appropriate method in a class and enter the search directlyCtrl+EOpen Recent browsing historyCtrl+Space Open Syntax hintsCtrl+YDelete the row or rows involved in the current row or selectionCtrl+RReplaceCtrl+FFindCtrl+ "-/+" Shrink Unwind CodeCtrl+ “.” Collapse the code of the selected codeCtrl+ [] Match {}[]Ctrl+XCut the row, uncheck it, cut the entire row directly, and cut the selected content if part of the selection is selectedSHIFT+EscAny small window that is currently active is minimized, or it can be ALT + ' number key ', and the number is displayed on the small window title barCtrl+JOutput Code TemplateCtrl+Q//display function Comment Description document ctrl + B // Jump to variable function declaration ctrl + N //class name lookup ctrl + F12 //displays the structure of the current file and quickly finds the method in the current class file ctrl + G //jump line, such as: row: Column alt + F7 //show structure all methods in one class alt +  up and down arrows  //up-down functions switch between Span class= "PLN" >ctrl +  mouse  //code trace                

Combination shortcut key 2:

Ctrl+Alt+LFormatting codeCtrl+Alt+JAdd tagsCtrl+Alt+SOpen settingsCtrl+Alt+F12Jump to the location on the disk where the current file resides (you can select files, directories, disks)Ctrl+Alt+TInsert Code Wrapping (this shortcut key and QQ broadcast key conflict, can modify QQ for s+c+a+t)Ctrl+Alt+LFormat code, select content to format the selection code, not select the content on the format of the file code (the shortcut and QQ unlock key conflict, can modify the QQ for the S+c+a+l)Ctrl+SHIFT+RQuickly find the location of the keyword throughout your project, and replace matching characters in the entire project directoryCtrl+SHIFT+FQuickly find the location of the keyword throughout your projectAlt+SHIFT+UpLine moveCtrl+SHIFT+UpBlock move, cursor on {} () or if, while row, block move, move in normal statement upstreamCtrl+SHIFT+IReformat the code, choose not to format the line, select content to format the selectionCtrl+SHIFT+ULetter case conversion, select content conversion selection, do not select content Auto-Judgment Select Word Conversionctrl + SHIFT + N //filename lookup, open the file of any directory under the current project ctrl + SHIFT + ALT + N //function name find ctrl + SHIFT + V //displays the contents of the most recent pasteboard, selecting the content to insert into the cursor position ctrl + SHIFT Span class= "pun" >+ I //view the value of the variable initialization, and if the class in the CSS displays the current class details, If it is JS then display the details of the function (imagine, if you see the details on the jquery method, you can see the implementation code directly), if it is PHP, then it is still the details of the function 
qzcl612 
Links: http://www.imooc.com/article/4285
Source: Mu class network


qzcl612
Links: http://www.imooc.com/article/4285
Source: MU-Class Network

How to make Phpstorm your own IDE?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.