In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
This article will explain in detail what are the default shortcuts for PyCharm3.0. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
PyCharm3.0 default shortcut key (translated)
1. Edit (Editing)
Ctrl + Space basic code completion (classes, methods, properties)
Ctrl + Alt + Space quickly import any class
Ctrl + Shift + Enter statement completed
Ctrl + P parameter information (call parameter in method)
Ctrl + Q Quick View documents
Shift + F1 external documents
Introduction to Ctrl + Mouse
Ctrl + F1 displays error description or warning message
Alt + Insert automatically generates code
Ctrl + O new method
Ctrl + Alt + T selected
Ctrl + / Line comment
Ctrl + Shift + / Block comment
Ctrl + W check the added code block
Ctrl + Shift + W returns to its previous state
Ctrl + Shift +] / [end, start of selected code block
Alt + Enter fast correction
Ctrl + Alt + L code formatting
Ctrl + Alt + O optimized Import
Ctrl + Alt + I automatic indentation
Tab / Shift + Tab indent, not indent the current line
Ctrl+X/Shift+Delete cuts the current line or selected code block to the clipboard
Ctrl+C/Ctrl+Insert copies the current line or selected code block to the clipboard
Ctrl+V/Shift+Insert pastes from the clipboard
Ctrl + Shift + V paste from the nearest buffer
Ctrl + D copies the selected area or row
Ctrl + Y deletes the selected row
Ctrl + Shift + J add Smart Line
Ctrl + Enter Intelligent WEDM
Shift + Enter starts a new line
Ctrl + Shift + U switches between selected areas or blocks of code
Ctrl + Delete deleted to the end of the character
Delete Ctrl + Backspace to the beginning of the character
Ctrl + Numpad+/- expand and collapse the code block
Expand all Ctrl + Numpad+
Ctrl + Numpad- collapse all
Ctrl + F4 closes the running tab
2. Find / replace (Search/Replace)
F3, next.
Shift + F3 previous
Ctrl + R substitution
Ctrl + Shift + F global lookup
Ctrl + Shift + R global replacement
3. Run (Running)
Alt + Shift + F10 running mode configuration
Alt + Shift + F9 debug mode configuration
Shift + F10 run
Shift + F9 debugging
Ctrl + Shift + F10 run Editor configuration
Ctrl + Alt + R run the manage.py task
4. Debug (Debugging)
F8 skip
F7 entry
Shift + F8 exit
Alt + F9 run cursor
Alt + F8 validate expression
Ctrl + Alt + F8 Quick validation expression
F9 recovery program
Ctrl + F8 breakpoint switch
Ctrl + Shift + F8 View breakpoints
5. Navigation (Navigation)
Ctrl + N Jump to Class
Ctrl + Shift + N Jump to symbol
Alt + Right/Left jumps to the next and previous edited tab
F12 returns to the previous tool window
Esc returns to the editing window from the tool window
Shift + Esc hides running and recently running windows
Ctrl + Shift + F4 close the active running tab
Ctrl + G to view current line numbers and word symbols
Ctrl + E current file pops up
Ctrl+Alt+Left/Right backward, forward
Ctrl+Shift+Backspace navigates to the most recently edited area
Alt + F1 find the current file or identity
Ctrl+B / Ctrl+Click jumps to declaration
Ctrl + Alt + B jumps to implementation
Ctrl + Shift + I View Quick definition
Ctrl + Shift + B jumps to type declaration
Ctrl + U jumps to parent method, parent class
Alt + Up/Down jumps to the previous, next method
Ctrl +] / [Jump to the end of the code block, start
Ctrl + F12 pop-up file structure
Ctrl + H type hierarchy
Hierarchical structure of Ctrl + Shift + H method
Ctrl + Alt + H call hierarchy
F2 / Shift + F2 next and previous highlighted error
F4 / Ctrl + Enter edit resources, view resources
Alt + Home display navigation bar F11 bookmark switch
Ctrl + Shift + F11 Bookmark mnemonic switch
Ctrl + # [0-9] jumps to the identified bookmark
Shift + F11 displays bookmarks
6. Search related (Usage Search)
Query usage in Alt + F7/Ctrl + F7 file
Usage highlighting in Ctrl + Shift + F7 file
Ctrl + Alt + F7 display usage
7. Refactoring
F5 copy F6 cut
Alt + Delete secure deletion
Shift + F6 rename
Ctrl + F6 change signature
Ctrl + Alt + N inline
Ctrl + Alt + M extraction method
Ctrl + Alt + V extract attributes
Ctrl + Alt + F extract field
Ctrl + Alt + C extract constant
Ctrl + Alt + P extraction parameters
8. Control VCS/Local History
Ctrl + K submit project
Ctrl + T update project
Alt + Shift + C to view recent changes
Alt + BackQuote (') VCS pops up quickly
9. Template (Live Templates)
Ctrl + Alt + J current line uses template
Ctrl + J insert template
10. Basic (General)
Alt + # [0-9] Open the corresponding tool window
Ctrl + Alt + Y synchronization
Ctrl + Shift + F12 maximize Editing switch
Alt + Shift + F add to favorite
Alt + Shift + I check the current file against configuration
Ctrl + BackQuote (') quickly switch current plan
Ctrl + Alt + S opens the settings page
Ctrl + Shift + A finds all the actions in the editor
Ctrl + Tab switches between windows
Some common settings:
Pycharm is saved automatically by default. If you press ctrl + s, you can set it as follows:
File-> Setting-> General-> Synchronization-> Save files on frame deactivation and Save files automatically if application is idle for... Uncheck sec
Check file-> Setting-> Editor-> Editor Tabs-> Mark modified tabs with asterisk
Alt + Enter: automatically add packages
For commonly used shortcut keys, it can be set to visual studio (eclipse …) The same:
File-> Setting-> Keymap-> Keymaps-> vuisual studio-> Apply
Font size cannot be changed with Ctrl+ wheel in Pycharm by default, and can be set in file-> Setting-> Editor- > Mouse.
To set the font of Pycharm, select a style in file-> Setting-> Editor- > Editor and save it before you can change it
Search for theme in setting to change the theme, and all colors can be changed uniformly.
This is the end of this article on "what are the default shortcut keys for PyCharm3.0". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, please share it out for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.