Customizing common shortcut keys
Follow the path: Copy an Eclipse, named Eclipse_blog.snsgou.com, Appearance & Behavior, Settings, File----, Keymap
Shortcut keys |
Function |
Path |
Ctrl +/ |
Double Slash comment |
Main menu, Code, Comment width line Comment |
Ctrl + shilft +/ |
Block annotations |
Main Menu--Code--Comment width Block Comment |
Alt +/ |
Code hints |
Main menu, Code-completion, Basic |
Ctrl + I |
Formatting code |
Main Menu--code--Reformat code |
Ctrl + D |
Delete When moving forward |
Editor Actions, Delete Line |
Ctrl + E |
List of recently opened files |
Main Menu-View-Recent Files |
Ctrl + W |
Close the active window you are editing. |
Main menu, Window, Editor Tabs, Close |
Ctrl + F |
Current file search, replace |
Replace, Main menu, Edit, Find |
Ctrl + R |
Advanced Find Replace " bulk replace " |
Main menu, Edit, Find, Replace in Path |
Ctrl + H |
Advanced Find |
Main menu, Edit, Find, find in Path |
Ctrl + L |
Navigate to the specified row |
Main menu, Navigate, line |
Ctrl + Alt + PageDown Ctrl + Alt + PageUp |
Copies the current line to the next (top) row. Simple copy function than CTRL + C to be easy to use (skip the paste step), mainly used in writing code, need to move the code place. |
Editor Actions, Duplicate Lines |
Alt +↓ Alt +↑ |
Move a single-line (multiline) code. is also better than CTRL + C shortcut keys. |
Main menu, Code, Move Statement down
Main menu, Code, Move Statement up |
Ctrl + Shift + R |
Quickly locate files (any type) based on file name (fuzzy query) |
Main menu, Navigate, File |
Ctrl + Shift + U |
Uppercase and lowercase conversions |
Main menu, Edit-Toggle case |
F1 |
View Documents |
Main Menu--View--Quick documentation |
F2 |
Renaming |
Main menu, Refactor, Rename |
Ctrl + I |
Formatting code |
Main Menu--code--Reformat code
|
Ctrl + G |
Find usage statistics for a function in a project |
Find Usages, Main menu, Edit, find |
Multi-Project Coexistence issues:
Phpstorm don't know what the reason is, a project to open an IDE, and later find a method that can coexist:
Add Content root, directories, settings, File----Adds your current project directory as shown in:
Also, in the project panel, switch the display type to project state so that all the items can be displayed! As shown in the following:
How to change themes
The default font and background color are very eye-broken, but we can manually change other better topics:
You can download XML files of various topics from this website (http://phpstorm-themes.com),
Then put the files in the Phpstorm folder, for example: c:/users/username/. Webide10/config/colors,
If the Phpstorm is open at this point, then you need to restart the IDE so that loading changes to the theme you added,
In the upper-left menu of the IDE, choose File > Settings > Editor > Colors & Fonts, and then, in the drop-down menu, select the name of the topic you just added, save your settings, and you're done.
Description: In fact, the above site provides the theme, I do not like, also useless. Later, I was referring to the default theme of Eclipse 3.7.2 for javeee (which I quite like), by contrast, step by step to set your favorite code format/style, set the address to: Phpstorm
PHP, Colors & Fonts, Editor, Settings, File, and other languages (such as JAVASCRIPT,HTML,CSS) set up similarly!
Phpstorm horizontal scroll bar Too Short
Fix Phpstorm horizontal scroll bar Too short bug, set programming font Consolas
Show spaces/blanks, line numbers
Refers to the space/tab and other white space characters displayed as small dots and other visible characters, after the effect is such, pay attention to the white space at the indentation
"Last opened project" is not opened when Phpstrom is turned on
Startup/shutdown, Setting, general------"Reopen last project on Startup"
Remove the word spell check
Inspections, spelling, Editor, Settings, File-------Typo
Configure PHP Interpreter and PHP language version
PHP Languages & Frameworks, Settings, File--
-PHP language level:5.4 (traists,short array syntax,etc.)
interpreter:php5.4
Modify File Auto-save
Synchronization "Save Files on Frame deactivation", Setting, General, File--IDE
New path: File, Appearance & Behavior, System Settings, synchronization,
How to remove the Phpstorm plugin?
Settings, IDE Settings, File-----Plugins Remove the check box of the checkmark
Asp
CVS Integration
Database Tools and SQL
Drupal Support
Git Integration (likes to use tortoisegit)
GitHub
Google App Engine support for PHP
Java Server Pages Integration
SSH Remote Run
Remote Hosts Access
PHP Remote Interpreter
SSH Remote Run
Subversion intrgration (like with TortoiseSVN)
WordPress Support
Terminal
Remove automatic detection of new versions
Settings, updates, File----Remove the check for Updates in channel
Remove the browser toolbar from the top right corner
[phpstorm_7.x] Settings, Web Browsers, IDE Settings, File----
[phpstorm_9.x] Settings, Web Browsers, Tools, File----
Do not format a block of code when you enter "right}"
Smart Keys, Editor, File, Settings
(a). Remove the tick Backspace smart indent
(b). Remove the Tick "reformat block on typing '"
(c). Reformat on Paster: select None
# How do I export personalization, back up or use it for others?
Export: File-exporting Settings
Import: File--Importing Settings