Phpstorm/intellij idea Common settings configuration optimization

Source: Internet
Author: User
Tags sublime text

Phpstorm/intellij idea Common settings configuration optimization-Meetricetime 2014-09-06 10:17:00 Blog Park-All essays area Original http://www.cnblogs.com/meetrice/p/3959178.html ThemeIntelliJ Idea1. Interface Chinese box problem

In Settings->appearance

Theme Setting up Windows

Tick override default fonts by (not recommended), set font to Arial

2. Display Line numbers

Settings->editor->appearance tab, tick show line numbers

3. Cursor is not positioned arbitrarily

Settings->editor remove allow placement of the caret after end of the line.

4. Do not open the project file when starting

Settings->general remove reopen last project on startup.

5. Unable to start Tomcat (IntelliJ idea) Please use the zip version of Tomcat6. Shortcut key Issue

You can use the shortcut keys for other software,

Settings->keymap

7. Shortcut key conflict (self-modification)

Default code hints and complement shortcut keys conflict with IME, how to resolve: Settings->keymap

In the image above, click Copy to create a new schema for yourself, such as T1

Then start to set the shortcut keys, when modified, right-click Will pop-up menu, such as, change to the shortcut you want

8. Mark the edited file with *

editor–> Editor Tabs check mark Modifyied Tabs with asterisk

9. Encoding settings: Chinese garbled problem in editor

This is a project character encoding setup error

FILE->settings-> has 3 settings set according to your needs

IDE encondings:ide encoding, select IDE encoding as GBK. You're going to have to adjust for yourself here.

Project Encoding: Item encoding

Default encoding for properties files: Defaults file encoding

10. Font and size in editor

Settings> editor->colors & Fonts, Font-Right, FILE--

Size: Font sizes

Line spacing: Row spacing

The font is in the bottom box, the font is selected on the left, and the font is actually applied to the right.

11. display folder or file filtering

File->setting->file Types->ignore File and folders

Fill in the filter you want to not show

Pay attention to case,

12. Current Edit file positioning

Method 1) in the edited selected file, press ALT+F1, and then select Project VIEW

Method 2) Position icon at the top of the project list box on the left

13. Optimize file saving

File->settings->general->

Synchronize file on frame activation: Individual needs to cancel synchronizing files

Save files on framedeactivation: Cancel

Save files automatically: Check, set auto Save, set 30 seconds AutoSave time, so idea can still automatically keep the file, so you need to press Ctrl+s to save the file each time you switch

14.SVN settings

Setting->version control-> Right VCS below select Subversion

Note : Some shortcuts must be used without changing the shortcut key (the 7th Accelerator conflict (self-modification) )

Query shortcut keys

CTRL + N Find class

Ctrl+shift+n finding files, opening files in a project

Ctrl+shift+alt+n find a method or variable (JS) in a class

Cirl+b find the source of the variable, jump to the variable declaration

Ctrl+alt+b Find all the subcategories

Ctrl+shift+b the class of finding variables

Ctrl+g positioning line, jumping career

Ctrl+f finding text in the current window

Ctrl+shift+f finding text in a specified window

Ctrl+r replacing text in the current window

Ctrl+shift+r replacing text in a specified window

Alt+shift+c Find modified files, recent change history

Ctrl+e recently opened files

F3 down find where the keyword appears

Shift+f3 up a keyword where it appears

F4 finding the source of a variable

Ctrl+alt+f7 selected characters find where the project appears

Alt+f7 direct query for selected characters

Automatic code

ALT + ENTER import package, auto fix

Ctrl+alt+l Formatting Code

Ctrl+alt+i Auto Indent

Ctrl+alt+o Optimizing imported classes and Packages

Ctrl+e recently changed files/codes

Ctrl+shift+space Switch window

CTRL + Space Code hints

Ctrl+alt+space class name or interface name hint (conflicts with system)

Ctrl+p method parameter hints, showing default parameters

CTRL+J Automatic code hints, auto-completion

Ctrl+alt+t put the selected code in try{} if{} else{}

Alt+insert generate code (such as Get,set method, constructor, etc.)

Copy Shortcut

F5 Copy File shortcuts

CTRL + C copy

Ctrl + V Paste

Ctrl+d Copying rows

Ctrl+x Cut, Delete row

Ctrl+shift+v can copy multiple text

Highlight

Ctrl+f selected text, highlighting jumps up or down to the next or previous

F2 highlighting error or warning quick location

SHIFT+F2 highlighting error or warning quick location

Ctrl+shift+f7 highlighting multiple keywords.

Other Shortcuts

CTRL + Z Backwards (code regrets)

Ctrl+shift+z forward

CTRL+H Display class structure diagram

Ctrl+q Show Code comments

Ctrl+w selected code, continuous press will have other effects

Ctrl+b quickly open the class or method at the cursor

Ctrl+o Magic Method

ctrl+/Notes//

ctrl+shift+/Comment/*...*/

Ctrl+[] Match {}[]

ctrl+shift+[] Check block code

CTRL + '-/+ ': You can collapse any code block in the project, including any nodetype=3 element in the HTM, function, or object direct amount, and so on. It is not selected for folding, but is automatically recognized for folding.

CTRL + '. ': Collapse the code of the selected code

Ctrl+shift+u Letter Case Conversion

Ctrl+shift+i Quick View variable or method definition source

CTRL+ALT+F12 Explorer opens a folder and jumps to the location of the current file on disk

Alt+f1 find the directory where the files are located

Shift+alt+insert Vertical Edit mode

ctrl+alt←/→ return to last edited position

alt+←/→ Toggle Code View, Tag toggle

Alt+↑/↓ fast positioning between methods

ALT + ' 7 ': Displays the current class/function structure. Similar to the effect of outline in eclipse. Experiment, to Aptana than the power of some, but still can not fully display prototype the following method name.

Shift+f6 Refactoring-Renaming

Not only can you rename the file name, but you can also name the function name, the function name can search for the referenced file, and you can rename the local variable. You can also rename tag names. There is a similar shortcut key in sublime text: Ctrl+shift+d.

Ctrl+shift+enter (Smart perfect code such as if ())

Ctrl+shift+up/down (move row, merge selected row, code Select Area up/down move)

Ctrl+up/down cursor jumps to the first or last line of the editor display area

ESC cursor returns to edit box

Shift+esc the cursor back to the edit box, close the useless window

F1 help don't press, very card!

Ctrl+f4, it's very important to work.

Personal use of the configuration and editor code color, etc. (using the default shortcut key)

http://download.csdn.net/detail/wljk506/6771763

Configuration 2 (mainly use this): http://download.csdn.net/detail/wljk506/7663365

Such as

Other settings

Http://www.cnblogs.com/smalldirector/archive/2012/03/20/2407410.html

Phpstorm/intellij idea Common settings configuration optimization

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.