Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the little knowledge of pycharm?

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

Today, I would like to talk to you about the little knowledge about pycharm, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.

Ctrl + Space basic code completion (classes, methods, properties)

Ctrl + Alt + Space class name complete

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

Run the class:

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

Debug class:

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

Navigation class:

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

Find / replace classes:

F3, next.

Shift + F3 previous

Ctrl + R substitution

Ctrl + Shift + F global lookup

Ctrl + Shift + R global replacement

Search class:

Query usage in Alt + F7/Ctrl + F7 file

Usage highlighting in Ctrl + Shift + F7 file

Ctrl + Alt + F7 display usage

Refactoring classes:

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

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

After reading the above, do you have any further knowledge of pycharm? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report