Phpstorm 8.x/9.x shortcut key Settings/personalization, how do I co-exist with multiple projects? How do I change themes?

Source: Internet
Author: User
Tags php language

1, "Custom" common shortcut keys (set to the same as Eclipse)

Follow the path:copy an Eclipse, named Eclipse_blog.snsgou.co, Appearance & Behavior, Settings, File----, Keymap M

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 + G Find usage statistics for a function in a project Find Usages, Main menu, Edit, find
Alt + Enter Command space for imported classes

The weak weak supplement explains:

Bought a new ThinkPad E440, although the shortcut keys Ctrl + ALT +↓off/off the screen, but in Phpstorm this set of shortcuts is still not available, no way, finally replaced by a new combination of Ctrl + Alt + PageDown .

It is customary to F1 to view the PHP function document shortcut keys, F2 for renaming shortcuts, but these 2 keys are occupied:

1. Set the shortcut key for the View-and-quick documentation to F1

2, set refactor-Rename shortcut keys to F2

3. Set code---reformat code shortcut key to Ctrl + I

#多项目并存的问题:

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 theProjectpanel, switch the display type toProjectstate so that all the items can be displayed! As shown in the following:

#如何更换主题

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横向滚动条过短

Fix Phpstorm horizontal scroll bar Too short bug, set programming font Consolas

#显示 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

#打开PhpStrom时, "Last opened project" is not opened

Startup/shutdown, Setting, general------"Reopen last project on Startup"

#去掉 "Word spelling checker"

Inspections, spelling, Editor, Settings, File-------Typo

#配置PHP解释器和PHP语言版本

PHP Languages & Frameworks, Settings, File--

-PHP language level:5.4 (traists,short array syntax,etc.)
interpreter:php5.4

#修改文件自动保存

Synchronization "Save Files on Frame deactivation", Setting, General, File--IDE

New path:File, Appearance & Behavior, System Settings, synchronization ,

#如何卸掉 phpstorm plugin?

Settings, IDE Settings, File-----Plugins Remove the check box of the checkmark

I want to remove:

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 (keep this, and TortoiseSVN used together)
WordPress Support
Terminal (cmd command-line console)

Phpstorm comes with several "version control systems (vcs:versioncontrols System)"

Subversion integration "Just keep this side."
Mercurial
Perforce Integration
CVS Integration
Git Integration
TFS Integration

#安装 js/css Compression Tool

Assets Compressor: Compressing js and css files, go to refactor > Compress

#去掉自动检测 new version

Settings, updates, File ----Remove the check for Updates in channel

#去掉右上角的 browser Toolbar

[phpstorm_7.x] Settings, Web Browsers, IDE Settings, File----

[phpstorm_9.x] Settings, Web Browsers, Tools, File----

# when entering ' right} ', do not format blocks of code

Smart Keys, Editor, File, Settings

- (a) . Remove the Tick Backspace smart indent

- (b) . Remove the Tick "reformat block on typing '"

(c). Remove tick Insert pair quote

(d). 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

# Remove the number in front of the tool panel name

"Show tool Windo", Windows Options , Editor , File-- Settings W numbers"

The essence of the IDE

# Open PHP Syntax "error checking" function "NOTE: This feature is quite important!" "

Settings, Editor, inspections , File---

# Remove the spelling of the word "inspections" in the "spelling" function

Settings, inspections , spelling , Editor, File----

# Hide Navigation bar

View - Navigation Bar

# remove "breadcrumbs" from the code area

appearance , General, Settings , Editor , File -- "Show b Readcrumbs "

# Automatic completion of command settings, such as input "DD" Automatically complete Yii:: $app->utils->debug ();

Live Templates , editor , editor , File , Settings

# under Ubuntu, create phpstorm/clion desktop icons

Tools--Create Desktop Entry

font Settings

Settings, Appearance & Behavior, appearance, check Override default fonts by:name: Select " Microsoft Jas Black ", Size : ;

Settings, Editor, Colors & Fonts, Primary font: Select "yahei consolasHybrid", Size: Lin E spacing: 1.2

Phpstorm 8.x/9.x shortcut key Settings/personalization, how do I co-exist with multiple projects? How do I change themes?

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.