Home>Article>Backend Development> What is the shortcut key for running python?
Python is a computer programming language. It is an object-oriented dynamic type language that was originally designed for writing automated scripts (shells). With the continuous updates of the version and the addition of new language features, it is increasingly used for the development of independent and large-scale projects.
What is the shortcut key for running python?
The shortcut key for running python is shift F10.
Related shortcut keys:
The most important shortcut keys
1. ctrl shift A: Universal command line
2. Shift twice: View resource files
The first step in creating a new project
1. Module settings remove empty packages in layers, compact empty middle package
2. Set the current project to utf-8, set the Editor-->File Encodings--> and change all to utf-8,
Comment
1. ctrl /: Single line comment
Cursor operation
1. ctrl alt enter: Insert upward
2 . shift enter: Insert downward
3. end: Cursor
Operation code
1. ctrl d: Copy and paste a line
2. ctrl y: Delete a line
3. shift F6: Repeat command
5. ctrl O: Copy code
Format code and other functions
1. ctrl alt L: format code
2. Use alt insert:Generate in the code, you can get/set and other operations
3. ctrl alt T :Add try/catch
4. ctrl alt M: Extract code
5. ctrl alt F: Variable extraction global variables (you also need to set the prefix: Editor-->code style-- >java-->code Genertion-->Set the leading edge of Field to m (add)
6. ctrl alt v: Extract the value in the method body into a variable
8. Save as Template: ctrl shift L, this is customized (save as live Template)
9. Select content: tab for backspace
10. shift tab: reverse backspace
11. alt shift up and down keys: select the code to move
12. ctrl shift up and down keys: you can move the current method body. If you move a line of code, you can only move it within the code body
13. ctrl shift U: Code case
15. ctrl shift enter: Complete the code (add a semicolon at the end of a line, add parentheses if it is if, etc.)
Enter the code
1. ctrl mouse: Enter code
2. ctrl B: Enter code
5. ctrl shift 12: Maximize window
Replace search
1. ctrl r: Replace
2. ctrl F: Search
3. ctrl shift F: Global search
4 . ctrl shift R: Global replacement
5. ctrl shift i: Quickly view the content of method implementation
6. ctrl p: View parameters
7. ctrl Q: View Document description
8. shift F1: View api documentation
8. ctrl F12: View class methods
9. ctrl H: View inheritance relationship of class
10. View the assignment of variables: (shift ctrl a: input analyze data flow to Here)
11. ctrl alt H: View where the method is called
12. ctrl {}: You can locate the brackets of the method body
13. F3: View the selected content
14. shift F3: View the content in reverse
15. ctrl alt B : Query which classes implement the interface where the cursor is located
16. ctrl U: View the parent class
17. ctrl E: List of recently edited files
18. ctrl alt home: View the layout and corresponding classes
19. ctrl alt H: View where the current method is called
Run and compile
1. ctrl F9: Build
2. shift F10: Run
Project Directory Operation
1. Create new files and projects: Select the directory to be created and use alt insert
2. ctrl shift a: Enter show in explorer-->Open the corresponding directory
3. ctrl alt s: Open the software settings
4. ctrl alt shift s :Open module settings
5. alt 1:Current directory area
6. alt 7:View the method list of the current class
7. ctrl tab:Switch directories and views
8. alt shift c: View recent changes in the project
9. ctrl J: Livetemp template view
Code shortcut operations
1. If there is no operation to complete, you can write todo first, and then you can view it in the todo window
2. F11 to define bookmarks
3. shift F11: View bookmarks
4. ctrl J: Quickly call up the template
5. alt click on the breakpoint: disable the breakpoint
6. In debugging mode, press: alt to view variables to review expressions Value
Combined shortcut keys
1. F2: Positioning error
2. alt enter: Correct error
3. alt mouse: enter column editing mode
4. ctrl w: select word
5. or other combination operations
editing position
ctrl alt left and right keys: This is to locate the editing position
Related recommendations: "Python Tutorial"
The above is the detailed content of What is the shortcut key for running python?. For more information, please follow other related articles on the PHP Chinese website!