Phpstorm configuration-xiebruce JetBrains PhpStorm 8 registration code
username :cf96PiPYt271u1TCLicense Key :97807-1204201000001GctOKh8f206hliugiW6iAS5bh8AAXfEtfpdDSr0oZfJFMQmzncjbdGu
Go to C: \ Users \ Bruce \. WebIde80 \ config \ colors and put the attachment in this folder (click to download)
Note: If it is a mac system, put it in the/Users/bruce/Library/Preferences/WebIde80/colors directory.
Note: WebIde80 is of version 8. * and WebIde90 is of version 9. *.
Set the overall topic
Note that the afterglow option is available only when the attachment is placed in the corresponding directory:
It's quite good to use this, just like notepad ++'s solarized dark.
Set font
You don't need to create a new project. open your existing project directly.
Double-click External Libraries, select the php version installed on your computer, and click the plus sign on the right to import your thinkphp, YII, and other frameworks. when you call a framework function or custom function, the following functions can be prompted:
For example, in yii2, I enter Yii: And then I will directly prompt the following:
After I enter $ app again-> Again, I will be prompted to enter the following:
The user-defined function prompts the following:
Configure svn
Install the command line client of svn (if it has not been installed before, go to Control Panel-programs and functions, find tortoise svn, right-click it, select modify, and select command line client to install it ), go to the svn installation directory: D: \ Program Files \ TortoiseSVN \ binand find svn.exe. the complete path is D: \ Program Files \ TortoiseSVN \ bin \ svn.exe, put this path in the Use command line client input box listed in the lower part and save it.
The same is true for mac, but the svn executable file paths are different:
Set the default line number (file -- settings)
If the default row number is not set, right-click the input area
The line number, Indentation guide, and soft line feed are displayed on the top.
Set soft line feed
Set ctrl + scroll wheel to zoom in and out the font
Show only one row of tags (opening a file is a tag)
(Move the cursor over the tab, scroll up or down the scroll wheel, and the tab will move right or left, or click the rightmost tab. a drop-down menu will show a tab with an excessive row)
Solve the problem of single row comment display on the top line
I personally hate to comment on the top Line, so I need to modify it: (Code Style-> PHP-> Other-> Line comment as first column (remove the check box ))
Javascript: cancel a single line comment on the top line
Jsvascript canceled
Zoom in and out the image with the scroll wheel
Click in the lower left corner to display and hide the toolbar in the lower left and right places.
You can press Alt + Enter to add a phpDoc menu under specific circumstances.
Place the cursor on the left side of the function or method (that is, the left side of the public), press Alt + Enter, the following menu appears, and press Enter again, the comment is automatically inserted above the function.
For details, refer:
Http://www.cnblogs.com/jikey/p/3489003.html
Undo: Ctrl + Z
Resume: Ctrl + Shift + Z (note: the shortcut keys of the general editor are the same as those of windows, that is, the shortcut keys for restoring are Ctrl + Y), but in phpstorm, ctrl + Y is to delete the current row, but I do not like it, I will remove it.
Alt + 1 can display the project directory on the left side (usually displayed by default)
Alt + 7 displays the method list on the left.
Phpstorm does not need to be saved by pressing Ctrl + S. when you switch to another program, phpstorm automatically saves it, which is equivalent to pressing ctrl + s for you. of course, if you are not at ease, pressing ctrl + s is not a problem. for example, if you save an html or php file, you may need to refresh the file and save it automatically to take effect (occasionally ).
Set which version control to use:
For mac phpstorm, you can quickly scroll to the top and bottom of the page. if there is a conflict, delete it first.
When you open a new project in phpstorm, you will be prompted whether to open it in this window or in a new window. if you accidentally remember to remember the operation, and then open it in this window, in the future, it will always be opened in this window by default, but sometimes I need to open it in a new window. how can I set it to the original method of inquiry? See:
Phpstorm plugin installation method:
In preference -- Plugins
Case-sensitive shortcut
Ctrl + shift + U (convert once to uppercase, then to lowercase), mac is command + shift + U
Set non-php files to be displayed in php file format
Right-click Associate With File Type
Select php and click OK.
Solution to changing the color of the file list on the left side of phpstorm
For example, the list of files on the left side of my local test project turns blue, and my project is used for local deployment and testing, not updated from the version controller.
Solution: Find Version Control in configuration and select vcs You can
Set to open a file from the list on the left
Double-click to highlight all matching words
By default, phpstorm cannot double-click a variable name like notepad ++. other variables with the same name are highlighted.
Solution 1: Double-click the selected variable name and click control + F to enter the search mode to highlight other matching variable names.
Solution 2: install the BrowseWordAtCaret plug-in.
Note: After installing the plug-in, the highlighted background color may not be what you want, but I do not know how to modify it now .... Please let us know if you know.
Updating...
From Weizhi note (Wiz)
Attachment list