Pycharm: keyboard reference
Source: Official set
♥ Editing
Ctrl + Space Basic code completion (the name of any class, method or variable)
Ctrl + Alt + Space Class name completion (the name of any project class independently of current imports)
Ctrl + Shift + Enter Complete statement
Ctrl + P Parameter info (within method call arguments)
Ctrl + Q Quick documentation lookup
Shift + F1 External Doc
Ctrl + mouse over code Brief Info
Ctrl + F1 Show descriptions of error or warning at caret
Alt + Insert Generate code...
Ctrl + O Override methods
Ctrl + Alt + T Surround with...
Ctrl + / Comment/uncomment with line comment
Ctrl + Shift + / Comment/uncomment with block comment
Ctrl + W Select successively increasing code blocks
Ctrl + Shift + W Decrease current selection to previous state
Ctrl + Shift + ] Select till code block end
Ctrl + Shift + [ Select till code block start
Alt + Enter Show intention actions and quick-fixes
Ctrl + Alt + L Reformat code
Ctrl + Alt + O Optimize imports
Ctrl + Alt + I Auto-indent line(s)
Tab Indent selected lines
Shift + Tab Unindent selected lines
Ctrl + X , Shift + Delete Cut current line or selected block to clipboard
Ctrl + C , Ctrl + Insert Copy current line or selected block to clipboard
Ctrl + V , Shift + Insert Paste from clipboard
Ctrl + Shift + V Paste from recent buffers...
Ctrl + D Duplicate current line or selected block
Ctrl + Y Delete line at caret
Ctrl + Shift + J Smart line join
Ctrl + Enter Smart line split
Shift + Enter Start new line
Ctrl + Shift + U Toggle case for word at caret or selected block
Ctrl + Delete Delete to word end
Ctrl + Backspace Delete to word start
Ctrl + NumPad+ Expand code block
Ctrl + NumPad- Collapse code block
Ctrl + Shift + NumPad+ Expand all
Ctrl + Shift + NumPad- Collapse all
Ctrl + F4 Close active editor tab
♥ Running
Alt + Shift + F10 Select configuration and run
Alt + Shift + F9 Select configuration and debug
Shift + F10 Run
Shift + F9 Debug
Ctrl + Shift + F10 Run context configuration from editor
Ctrl + Alt + R Run manage.py task
♥ Debugging
F8 / F7 Step over/into
Shift + F8 Step out
Alt + F9 Run to cursor
Alt + F8 Evaluate expression
Ctrl + Alt + F8 Quick evaluate expression F9 Resume program
Ctrl + F8 Toggle breakpoint
Ctrl + Shift + F8 View breakpoints
♥ Navigation
Ctrl + N Go to class
Ctrl + Shift + N Go to file
Ctrl + Alt + Shift + N Go to symbol
Alt + Right Go to next editor tab
Alt + Left Go to previous editor tab
F12 Go back to previous tool window
Esc Go to editor (from tool window)
Shift + Esc Hide active or last active window
Ctrl + Shift + F4 Close active run/messages/find/... tab
Ctrl + G Go to line
Ctrl + E Recent files popup
Ctrl + Alt + Right Navigate forward
Ctrl + Alt + Left Navigate back
Ctrl + Shift + Backspace Navigate to last edit location
Alt + F1 Select current file or symbol in any view
Ctrl + B , Ctrl + Click Go to declaration
Ctrl + Alt + B Go to implementation(s)
Ctrl + Shift + I Open quick definition lookup
Ctrl + Shift + B Go to type declaration
Ctrl + UGo to super-method/super-class
Alt + Up / Down Go to previous/next method
Ctrl + ] / [ Move to code block end/start
Ctrl + F12 File structure popup
Ctrl + H Type hierarchy
Ctrl + Shift + H Method hierarchy
Ctrl + Alt + H Call hierarchy
F2 / Shift + F2 Next/previous highlighted error
F4 Edit source
Ctrl + Enter View source
Alt + Home Show navigation bar
F11 Toggle bookmark
Ctrl + Shift + F11 Toggle bookmark with mnemonic
Ctrl + #[0-9] Go to numbered bookmark
Shift + F11 Show bookmarks
♥ Search/Replace
Ctrl + F/ Ctrl + R Find/Replace
F3 / Shift + F3 Find next/previous
Ctrl + Shift + F Find in path
Ctrl + Shift + R Replace in path
♥ Usage Search
Alt + F7 / Ctrl + F7 Find usages / Find usages in file
Ctrl + Shift + F7 Highlight usages in file
Ctrl + Alt + F7 Show usages
♥ Refactoring
F5 / F6 Copy / Move
Alt + Delete Safe Delete
Shift + F6 Rename
Ctrl + F6 Change Signature
Ctrl + Alt + N Inline
Ctrl + Alt + M Extract Method
Ctrl + Alt + V Extract Variable
Ctrl + Alt + F Extract Field
Ctrl + Alt + C Extract Constant
Ctrl + Alt + P Extract Parameter
♥ General
Alt + #[0-9] Open corresponding tool window
Ctrl + S Save all
Ctrl + Alt + Y Synchronize
Ctrl + Shift + F12 Toggle maximizing editor
Alt + Shift + F Add to Favorites
Alt + Shift + I Inspect current file with current profile
Ctrl + BackQuote (`) Quick switch current scheme
Ctrl + Alt + S Open Settings dialog
Ctrl + Shift + A Find Action
Ctrl + Tab Switch between tabs and tool window
♥ VCS/ Local history
Ctrl + K Commit project to VCS
Ctrl + T Update project from VCS
Alt + Shift + C View recent changes
Alt + BackQuote (`) ‘VCS’ quick popup
♥ Live template
Ctrl + Alt + J Surround with Live Template
Ctrl + J Insert Live Template
Pycharm: keyboard reference的更多相关文章
- pycharm Unresolved reference 无法引入包
1. 问题描述: 在项目中P存在文件夹A.B.C,A有文件夹a和b,在a中引入b的一个类, a.py: from b import func1 虽然运行成功,但是在Pycharm中显示: Unreso ...
- Model--汇总
NSFileManager.NSURL.NSFileHandle.NSData.NSXMLParser.NSUserDefaults.NSKeyedArchiver.NSKeyedUnarchiver ...
- ios9基础知识(技能篇)
NSFileManager.NSURL.NSFileHandle.NSData.NSXMLParser.NSUserDefaults.NSKeyedArchiver.NSKeyedUnarchiver ...
- 记录python万恶的坑
1.PyCharm Process finished with exit code -1073741819 (0xC0000005) 解决方法:卸载h5py这个包,在装cv2的时候有可能安装了h5py ...
- pycharm快捷键帮助文档Keymap Reference
前面我们已经安装了pycharm,为了提升效率,我们一般会用到快捷键操作,pycharm有哪些快捷键呢?Pycharm中打开Help->Keymap Reference可查看默认快捷键帮助文档, ...
- pycharm + selenium + python 提示 Unresolved reference 'webdriver' 解决办法
尝试使用python + selenium + pycharm 做自动化测试, 命令行pip install selenium 安装了selenium.但是使用pycharm 新建一个测试项目后并新建 ...
- 解决pycharm无法导入本地包的问题(Unresolved reference 'tutorial')
在用scrapy(python2.7)写爬虫的时候 from tutorail.items import DmozItem 这一行死活不成功 也就是出现 Unresolved reference 't ...
- Pycharm 出现Unresolved reference '' 错误的解决方法
在用Pycharm做Pygame游戏小实战的时候碰到一个很无语的问题 如下 什么鬼?????? 我明明有写settings模块啊 而且还是放在同一个目录下 然后Pycharm给我来了一个错误 而且在 ...
- pycharm中from xx import xx报错:Unresolved reference
出现问题:无法引用到相关的类,但是这些类确实都在工程中 分析原因:import不成功是路径没对应上,pycharm默认该项目的根目录为source目录 解决方案: 将对应的项目searchTest,选 ...
随机推荐
- Computer Network and Internet(1)
计算机网路相关的教材很少,TCP/IP,HTTP 协议非常多,很难找到一个合适的材料去学习. <计算机网络>自上而下方法是这个方面的经典之作. 1.what is internet? 1. ...
- Linux Found a swap file by the name filename
在Linux中使用vi命令编辑mysql_backup.sh时遇到下面提示信息 E325: ATTENTION Found a swap file by the name ".mysql_b ...
- C# 多线程,论多核时代爱恨情仇
为什么要学习多线程? 2010年1月21日是10年某市公务员考试的报名截止日.因从下午2点开始,用于报名的北京市人事考试网瘫痪,原定于昨天下午5点截止的报名时间延迟至今天上午11点. 2011年3月1 ...
- Spring MVC - 配置Spring MVC
写在前面的话: 现在开始一段新的学习历程:Spring MVC.还是按照原来的三步走学习模式(what.why.how)进行讲解. 1.Spring MVC是什么(what) Spring MVC属于 ...
- x01.Lab.StoreApp: XP 停服,微软变脸
变脸,川剧的一种表演形式,除了哄哄小孩,似乎别无用处.而川剧变脸从业者何其多也,存在时间何其长也.以如此多的从业者,如此长的时间,来进行科研,其成果一定是斐然吧.推而广之,试问天下谁能敌! 微软变脸, ...
- linux下怎么查看ssh的用户登录日志
linux下登录日志在下面的目录里: cd /var/log 查看ssh用户的登录日志: less secure linux日志管理: 1. 日志简介 日志对于安全来说,非常重要,他记录了系统每天发生 ...
- ThinkPHP3.1.3源码分析---php文件压缩zlib.output_compression 和 ob_gzhandler
问题来源:\ThinkPHP3.1.3_full\ThinkPHP\Lib\Core\App.class.php 中 init()方法 if(C('OUTPUT_ENCODE')){ ...
- 第四章 分治策略 4.2 矩阵乘法的Strassen算法
package chap04_Divide_And_Conquer; import static org.junit.Assert.*; import java.util.Arrays; import ...
- [书目20160612]思考软件,创新设计——A段架构师的思考技术
高焕堂:在校时期主修统计学和信息管理,将近40年软件开发生涯.工作于亚洲和欧美各地区,专精于商业策略思考和系统架构设计.近年来,热衷于<it+设计>教育顾问和产品开发. 第1章 商业思维 ...
- MMORPG大型游戏设计与开发(规范)
一件事如果没有规范.章法,那么做这件事起来往往会遇到许多难题,特别是在多人协作的时候,没有到规范通常让每个人多多少少都面临着头疼的困难.举个例子,多个人要做一桌美味的饺子,有买材料.做面皮.弄肉(菜) ...