当前位置:网站首页>One article to understand pychar shortcut key
One article to understand pychar shortcut key
2022-07-27 20:56:00 【Dream of new】
introduction

| Bear in mind | ||
|---|---|---|
| The only thing I know , Is that I know nothing |
- Understanding the use of shortcut keys can not only be faster and more efficient coding, You can also learn more about many previously unknown functions , Come and have a look !
Common shortcut key
Ctrl + Alt + LCode formattingCtrl + Alt + OOptimize importCtrl + RReplaceCtrl + Shift + RGlobal replacementCtrl + Shift + FOr continuous 2 Second strike shift Global search { You can find a string or something in the whole project , For example, look up a function name string to see how to use this function before }Ctrl + TabSwitch between windowsCrtl+Alt+space( Content tips , Code completion )ctrl+alt+taroundAlt + F8Validation expressionCtrl + Alt + F8Quick validation expression
Customize ( Customized due to their own coding habits , You can refer to ):shift + w Extended constituency
About debugging :F5 Recovery procedure , F6 Force to step over , F7 Stepping into , F9 Step out , F8 Step over , F4 Force a single step
Shortcut key
1 Code related
Ctrl + SpaceBasic code completion ( class 、 Method 、 attribute )Ctrl + Alt + SpaceImport any class quicklyCtrl + Shift + EnterSentence completionCtrl + Pparameter information ( Calling parameters in method )Ctrl + QQuick view of documentsF1External documentsShift + F1External documents , Get into web Document home pageCtrl + Shift + Z --> RedoredoCtrl + mousebrief introduction / Enter code definitionCtrl + F1Display error description or warning messageAlt + InsertAutomatic code generationCtrl + OThe new methodCtrl + Alt + TChooseCtrl + /Line notes / Cancel line commentCtrl + Shift + /Block annotationCtrl + WSelect the added code blockCtrl + Shift + WGo back to the previous stateCtrl + Shift + ]/[End of selected code block 、 StartAlt + EnterQuick correctionCtrl + Alt + LCode formattingCtrl + Alt + OOptimize importCtrl + Alt + IAutomatic indentationTab / Shift + TabIndent 、 Do not indent the current lineCtrl+X/Shift+DeleteCuts the current line or selected block of code to the clipboardCtrl+C/Ctrl+InsertCopies the current line or selected code block to the clipboardCtrl+V/Shift+InsertPaste from ClipboardCtrl + Shift + VPaste from closest bufferCtrl + DCopy selected area or rowCtrl + YDelete selected rowsCtrl + Shift + JAdd smart lineCtrl + EnterIntelligent wire cuttingShift + EnterAnother lineCtrl + Shift + USwitch between selected areas or blocks of codeCtrl + DeleteDelete to end of characterCtrl + BackspaceDelete to start of characterCtrl + Numpad+/-an / Collapse code block ( In the current position : function , Notes, etc. )Ctrl + shift + Numpad+/-an / Collapse all code blocksCtrl + F4Close running tabs
2、 lookup / Replace (Search/Replace)
F3nextShift + 3PreviousCtrl + RReplaceCtrl + Shift + FOr continuous 2 Second strike shift Global search { You can find a string or something in the whole project , For example, look up a function name string to see how to use this function before }Ctrl + Shift + RGlobal replacement
3、 function (Running)
Alt + Shift + F0Operation mode configurationAlt + Shift + F9Debug mode configurationShift + F10functionShift + F9debuggingCtrl + Shift + F10Run editor configurationCtrl + Alt + Rfunction manage.py Mission
4、 debugging (Debugging)
F8skipF7Get intoShift + F8sign outAlt + F9Run the cursorAlt + F8Validation expressionCtrl + Alt + F8Quick validation expressionF9Recovery procedureCtrl + F8Breakpoint switchCtrl + Shift + F8View breakpoints
5、 Navigation (Navigation)
Ctrl + NJump to classCtrl + Shift + NJump to symbolAlt + Right/LeftJump to next 、 Previous edited tabF12Go back to the previous tool windowEscFrom tool window to edit windowShift + EscHide running 、 Recent windowsCtrl + Shift + F4Close active tabCtrl + GView current line number 、 Word symbolsCtrl + ECurrent file pop up , Open the list of recently used filesCtrl+Alt+Left/Rightback off 、 ForwardCtrl+Shift+BackspaceNavigate to recent editing areaAlt + F1Find the current file or IDCtrl+B / Ctrl+ClickJump to statementCtrl + Alt + BJump to implementationCtrl + Shift + IView quick definitionCtrl + Shift + BJump to type declarationCtrl + UJump to parent method 、 Parent classAlt + Up/DownJump to previous 、 Next methodCtrl + ]/[Jump to end of code block 、 StartCtrl + F12Pop up file structureCtrl + HType hierarchyCtrl + Shift + HMethod hierarchyCtrl + Alt + HCall hierarchyF2 / Shift + F2The next one 、 Previous highlighted errorF4 / Ctrl + EnterEdit resources 、 See the resourcesAlt + HomeShow navigation bar F11 Bookmark switchCtrl + Shift + F11Bookmark mnemonic switchCtrl + #[0-9]Jump to bookmark of logoShift + F11Show Bookmarks
6、 Search for related (Usage Search)
Alt + F7/Ctrl + F7Query in file usageCtrl + Shift + F7Usage highlight in fileCtrl + Alt + F7Show usage
7、 restructure (Refactoring)
F5CopyF6shearAlt + DeleteSafe deletionShift + F6renameCtrl + F6Change signatureCtrl + Alt + NinlineCtrl + Alt + MExtraction methodCtrl + Alt + VExtract attributesCtrl + Alt + FExtract fieldsCtrl + Alt + CExtract constantsCtrl + Alt + PExtract parameters
8、 control VCS/Local History
Ctrl + KSubmit the projectCtrl + TUpdate projectAlt + Shift + CCheck out the latest changesAlt + BackQuote(’)VCS Pop up quickly
9、 Template (Live Templates)
Ctrl + Alt + JThe current line uses the templateCtrl +JInsert template
10、 basic (General)
Alt + #[0-9]Open the corresponding tool windowCtrl + Alt + YSyncCtrl + Shift + F12Maximize edit switchAlt + Shift + FAdd to favoriteAlt + Shift + ICheck current file according to configurationCtrl + BackQuote(’)Quickly switch the current planCtrl + Alt + SOpen Settings pageCtrl + Shift + AFind all the actions in the editorCtrl + TabSwitch between windows
Friends can change the shortcut keys according to their own needs , Set some commonly used shortcut keys , And being familiar with the use of shortcut keys at work will really get twice the result with half the effort !
At the end :
What a long long road! , I will go up and down ! partners , bye !
边栏推荐
- How to monitor the running status and usage of NVIDIA Jetson
- RK3399平台入门到精通系列讲解(导读篇)21天学习挑战介绍
- 如何解决tp6控制器不存在:app\controller\Index
- Where is the program?
- 关于栈迁移的那些事儿
- How to solve the problem of missing alarm information and synchronization when Haikang equipment is connected to easycvr?
- [efficiency] abandon notepad++, this open source substitute is more awesome!
- MySQL basic queries and operators
- 认识网络模型OSI模型
- R语言使用t.test函数执行t检验验证总体均值是否是某个特定的值(从样本集推论总体均值)
猜你喜欢
![[Numpy] 广播机制(Broadcast)](/img/1f/8d61ac7b35a82067bc0b77426590eb.png)
[Numpy] 广播机制(Broadcast)

Arduino development (II)_ RGB light control method based on Arduino uno development board

创新案例 | 本地生活服务数字化,高德品牌升级的增长战略

基于ATX自动化测试解决方案

JVs official account login configuration

adb shell ls /system/bin(索引表)
![[hierarchical reinforcement learning] HAC paper and code](/img/f5/d5f791d0f9da749eafa912be9dfbb5.png)
[hierarchical reinforcement learning] HAC paper and code

Download of MySQL driver jar package -- nanny tutorial

LabVIEW学习笔记九:捕捉由程序修改控件值产生的“值改变”事件

学术分享 | 清华大学 康重庆:电力系统碳计量技术与应用(Matlab代码实现)
随机推荐
[numpy] array index and slice
Management of user organization structure
Openresty Lua resty DNS domain name resolution
Jetpack compose performance optimization guide - compilation metrics
How to improve the picture transmission speed and success rate in the development of IM instant messaging under the mobile network
Nailing development document
adb shell ls /system/bin(索引表)
获取委托中注册的方法
全局样式与图标
14天鸿蒙设备开发实战-第七章 设备联网上云 学习笔记
Arduino开发(二)_基于Arduino UNO开发板的RGB灯光控制方法
【深度学习】Pytorch Tensor 张量
[efficiency] abandon notepad++, this open source substitute is more awesome!
【Dart】一门为跨端开发而生的编程语言
[deep learning] pytoch torch Autograd automatic differential engine
[numpy] broadcast mechanism
One week activity express | in simple terms, issue 8; Meetup Chengdu station registration in progress
如何解决tp6控制器不存在:app\controller\Index
用户和权限限制用户使用资源
Hexagon_V65_Programmers_Reference_Manual(5)
