Day pycharm common shortcuts

1 The most important shortcuts

1. ctrl + shift + A: universal command line
2. shift twice: View Resource File

2. Create a new project first operation

1. module is provided to remove the empty bag layered, Compact empty Middle Package
2. Set the current project is utf-8, Editor set -> File Encodings ->. 8-all into UTF,
# Notes
1. ctrl + / : single-line comments

# Cursor operation
1. ctrl + alt + enter: the insertion direction
2. shift + enter: inserted downward
3. end: cursor
# operation code
1. ctrl + d: copy and paste line
2. ctrl + y: delete line
3. shift + F6: Rename command
5. ctrl + O: replication Code

Other features and format code #
1. ctrl + alt + L: format code
2. alt + insert code: Generate, can get / set operations, etc.
3. ctrl + alt + T: Add the try / the catch
4. Ctrl + alt + m: extracting Code
5. ctrl + alt + F: variables global variables extracted
1. also need to set the prefix: Editor -> code style -> java -> code Genertion -> m is provided a leading edge Field Add
6. ctrl + alt + v: in vivo method of value extraction into variable
8. save as template: ctrl + shift + L, that is from (save as live template) defined
9. selected content: tab for backspace
10. shift + tab: reverse backspace
11. + shift + Alt key down: select code motion
12. ctrl + shift + arrow keys: move the current method body, if the moving line of code in the code can only move the body
13. ctrl + shift + U: Code case
15. ctrl + shift + enter: completion Code (semicolon tail line, if it is added if brackets, etc.)

# Entry code
1. ctrl + Mouse: entry code
2. ctrl + B: entry code
5. ctrl + shift + 12: maximized window
# find alternative
1. ctrl + r: Alternatively
2. ctrl + F: Find
3. ctrl + shift + F: global find
4. ctrl + shift + R: global replacement
5. ctrl + shift + i: view the contents of the shortcut implemented method
6. ctrl + p: See parameter
7. ctrl + Q: See document describes
8. shift + F1: See api document
8. ctrl + F12: view class methods
9. ctrl + H: See inheritance class
assignment 10. the variable view:
1. Shift + Ctrl + a: Data Flow to enter Here the Analyze
. 11 . ctrl + alt + H: See method is invoked where
12. ctrl + {}: the method of brackets may be positioned member
13. F3: View selected content
14. shift + F3: reverse view the contents
15. ctrl + alt + B: query class that implements an interface cursor
16. ctrl + U: View parent
17. ctrl + E: list of recently edited files
18. ctrl + alt + home: a layout view corresponding to class
19. ctrl + alt + H: View the current method calls where
# compiler is run
1. ctrl + F9: Construction
2. shift + F10: Run

# Engineering Directory Operations
1. Create a new file and project: you want to create a directory using INSERT + alt
2. the Shift + Ctrl + A: Enter the show in explorer -> Open the appropriate directory
3. ctrl + alt + s: Open the software settings
4. ctrl + alt + shift + s: open module disposed
5. alt + 1: the current directory area
6. alt + 7: the method of the current class list to see
7. ctrl + tab: directory and switching views
8. alt + shift + c: Check local project recently changed
9. ctrl + J: livetemp template View
# code shortcuts
1. no operation is completed operation can be the first to write todo, todo it can be viewed in a window
2. F11-defined bookmark
3. shift + F11: See bookmarks
4. ctrl + J: quick call up the template
5. alt + breakpoint is hit: disable breakpoint
pressed state 6. commissioning: See Alt able to examine expression variable value

# shortcut key combination
1. F2: positioning error
2 . alt + enter: error correction

3. alt + mouse: column enters edit mode
4. ctrl + w: select the word
5, or other combinations of operations

# Edit location
ctrl + alt + left and right keys: this is to locate the position of editor

 

1.Pycharm shortcut keys Daquan, a encountered an update

Undo and anti-undo: Ctrl + z, Ctrl + Shift + z
indent, not indent: Tab, Shift + tab
Run: Shift + F10
batch Notes: Ctrl + /
Quick view the document: Ctrl + q
When the cursor is in the middle of the code, how to Enter the next line: Shift + Enter
when the mouse is the next line of code that begins with a non-position, how to jump to the end of a line: Ctrl + backspace (backspace)
when the line of code is too long, how do we switch to the next line , but the format unchanged: Ctrl + Enter
2.Pycharm techniques used
  functions prompt an error, as shown below. In fact, the function is not wrong, but right format. As long as the line two spaces (3, 4 row is vacant); function and the function between the two spaces also

Guess you like

Origin www.cnblogs.com/longerandergou/p/11374650.html