Skip to content

Commit

Permalink
feat: add pycharm.md cheatsheet. #244
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Dec 26, 2022
1 parent 112a53c commit f4d2c99
Show file tree
Hide file tree
Showing 3 changed files with 167 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ Quick Reference
[Gitlab](./docs/gitlab.md)<!--rehype:style=background: rgb(226 67 41);-->
[Google Chrome](./docs/google-chrome.md)<!--rehype:style=background: rgb(29 116 232);-->
[IntelliJ IDEA](./docs/intelli-j-idea.md)<!--rehype:style=background: rgb(223 148 0);&class=tag&data-lang=Java-->
[PyCharm](./docs/pycharm.md)<!--rehype:style=background: rgb(36 215 137);&class=tag&data-lang=Python-->
[Sketch](./docs/sketch.md)<!--rehype:style=background: rgb(223 148 0);&class=tag&data-lang=macOS-->
[Sublime Text](./docs/sublime-text.md)<!--rehype:style=background: rgb(223 148 0);-->
[VSCode](./docs/vscode.md)<!--rehype:style=background: rgb(91 163 230);-->
Expand Down
3 changes: 3 additions & 0 deletions assets/pycharm.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
163 changes: 163 additions & 0 deletions docs/pycharm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
PyCharm 键盘快捷键备忘清单
===

这个 [PyCharm](https://resources.jetbrains.com/storage/products/pycharm/docs/PyCharm_ReferenceCard.pdf) 快速参考备忘单显示了它的键盘快捷键和命令

快捷键
---

### 创建和编辑
<!--rehype:wrap-class=col-span-2 row-span-2-->

:-- | --
:-- | --
`Alt` + `Enter` | 显示意图动作
`Ctrl` + `Space` | 基本代码完成
`Ctrl` + `Shift` + `Space` | 智能代码完成
`Ctrl` + `Alt` + `Space` | 类型名称完成
`Ctrl` + `Shift` + `Enter` | 完整声明
`Ctrl` + `P` / `Alt` + `Q` | 参数信息/上下文信息
`Ctrl` + `Shift` + `I` | 快速定义
`Ctrl` + `Q` / `Shift` + `F1` | 快速/外部文档
`Alt` + `Insert` | 生成代码
`Ctrl` + `O` / `Ctrl` + `I` | 覆盖/实施成员
`Ctrl` + `Alt` + `T` | 围绕着……
`Ctrl` + `/` | 注释行注释
`Ctrl` + `W` / `Ctrl` + `Shift` + `W` | 扩展/收缩选择
`Ctrl` + `Alt` + `O` | 优化导入
`Ctrl` + `Alt` + `I` | 自动缩进行
`Ctrl` + `X` / `Ctrl` + `C` / `Ctrl` + `V` | 剪切/复制/粘贴
`Ctrl` + `Shift` + `C` | 复制文档路径
`Ctrl` + `Shift` + `V` | 从剪贴板历史粘贴
`Ctrl` + `D` | 复制当前行或选择
`Ctrl` + `Shift` + `Up` / `Down` | 向上/向下移动线
`Ctrl` + `Y` | 删除插入符处的行
`Ctrl` + `Shift` + `J` / `Ctrl` + `Enter` | 加入/分割线
`Shift` + `Enter` | 开始新行
`Ctrl` + `Shift` + `U` | 切换大小写
`Ctrl` + `NumPad` `+` / `-` | 展开/折叠代码块
`Ctrl` + `Shift` + `NumPad` `+` / `-` | 全部展开/折叠
`Ctrl` + `S` | 保存全部
<!--rehype:className=shortcuts-->

### 版本控制

:-- | --
:-- | --
`Alt` + <code>`</code> | VCS 操作弹出...
`Ctrl` + `K` | 提交
`Ctrl` + `T` | 更新项目
`Alt` + `Shift` + `C` | 近期变动
`Ctrl` + `Alt` + `Z` | 恢复
`Ctrl` + `Shift` + `K` | 推…
`Ctrl` + `Alt` + `Shift` + `Down` / `Up` | 下一个/上一个更改
<!--rehype:className=shortcuts-->

### 掌握您的 IDE

:-- | --
:-- | --
`Ctrl`+`Shift`+`A` | 寻找行动...
`Alt`+`[0-9]` | 打开一个工具窗口
`Ctrl`+`Alt`+`Y` | 同步
`Ctrl`+<code>`</code> | 快速切换方案...
`Ctrl`+`Alt`+`S` | 设置...
`F4` / `Alt`+`Home` | 跳转到源/导航栏
`F12` | 跳转到最后一个工具窗口
`Shift`+`Esc` / `Ctrl`+`Shift`+`F12` | 隐藏活动/所有工具窗口
`Alt`+`Right` / `Alt`+`Left` | 转到下一个/上一个编辑器选项卡
`Esc` | 转到编辑器(从工具窗口)
`Ctrl`+`Shift`+`F4` / `Ctrl`+`F4` | 关闭活动标签/窗口
<!--rehype:className=shortcuts left-align-->

### 找到一切

:-- | --
:-- | --
`Shift` + `Shift` | 到处搜索
`Ctrl` + `F` / `R` | 查找/替换
`Ctrl` + `Shift` + `F` / `R` | 在路径中查找/在路径中替换
`F3` / `Shift` + `F3` | 下/上一个事件
`Ctrl` + `F3` | 在插入符处查找单词
`Ctrl` + `N` / `Ctrl` + `Shift` + `N` | 去班级/档案
`Ctrl` + `F12` | 转到文件成员
`Ctrl` + `Alt` + `Shift` + `N` | 转到符号
<!--rehype:className=shortcuts-->

### 从符号导航

:-- | --
:-- | --
`Ctrl` + `B` | 声明
`Ctrl` + `Shift` + `B` | 类型声明 _(仅限 JavaScript)_
`Ctrl` + `U` | 超级方法
`Ctrl` + `Alt` + `B` | 实施
`Alt` + `F7` / `Ctrl` + `F7` | 查找用法/在文件中查找用法
`Ctrl` + `Shift` + `F7` | 突出显示文件中的用法
`Ctrl` + `Alt` + `F7` | 显示用法
<!--rehype:className=shortcuts-->

### 重构和清理

:-- | --
:-- | --
`Ctrl` + `Alt` + `Shift` + `T` | 重构这个……
`F5` /`F6` | 复制…/移动…
`Alt` + `Delete` | 安全删除…
`Shift` + `F6` | 改名…
`Ctrl` + `F6` | 更改签名…
`Ctrl` + `Alt` + `N` | 排队…
`Ctrl` + `Alt` + `M` | 提取方法
`Ctrl` + `Alt` + `V` / `P` | 引入变量/参数
`Ctrl` + `Alt` + `F` / `C` | 引入字段/常量
`Ctrl` + `Alt` + `L` | 重新格式化代码
<!--rehype:className=shortcuts-->

### 分析和探索

:-- | --
:-- | --
`Ctrl` + `F1` | 显示错误描述
`F2` / `Shift` + `F2` | 下一个/上一个突出显示的错误
`Ctrl` + `Alt` + `Shift` + `I` | 按名称运行检查...
`Ctrl` + `H` / `Ctrl` + `Alt` + `H` | 类型/调用层次结构
<!--rehype:className=shortcuts-->

### 在上下文中导航

:-- | --
:-- | --
`Alt`+`F1` | 选择...
`Ctrl`+`E` / `Ctrl`+`Shift`+`E` | 最近查看/最近位置
`Ctrl`+`Shift`+`Back` | 最后编辑位置
`Ctrl`+`Alt`+`Left` / `Right` | 向后/向前导航
`Alt`+`Up` / `Down` | 转到上一个/下一个方法
`Ctrl`+`G` | 转到行/列...
`Ctrl`+`]` / `[` | 转到代码块结束/开始
`Alt`+`Shift`+`F` | 添加到收藏夹
`F11` | 切换书签
`Ctrl`+`F11` | 使用助记符切换书签
`Ctrl`+`[0-9]` | 转到编号书签
`Shift`+`F11` | 显示书签
<!--rehype:className=shortcuts-->

### 构建、运行和调试

:-- | --
:-- | --
`Ctrl` + `Shift` + `F10` | 运行上下文配置
`Alt` + `Shift` + `F10`/`F9` | 运行/调试所选配置
`Shift` + `F10`/`F9` | 运行/调试当前配置
`F8` / `F7` | 跨过/进入
`Shift` + `F7` | 智能步入
`Shift` + `F8` | 走出去
`Alt` + `F9` / `Ctrl` + `Alt` + `F9` | 运行到光标/强制运行到光标
`Alt` + `F10` | 显示执行点
`Alt` + `F8` | 评估表达...
`Ctrl` + `F2` | 停止
`Ctrl` + `Shift` + `F2` | 停止后台进程...
`F9` | 恢复程序
`Ctrl` + `F8` | 切换行断点
`Ctrl` + `Alt` + `Shift` + `F8` | 切换临时行断点
`Ctrl` + `Shift` + `F8` | 编辑/查看断点
<!--rehype:className=shortcuts-->

0 comments on commit f4d2c99

Please sign in to comment.