Mac OS系统下的Pycharm快捷键整理
Pycharm快捷键(Mac OS系统)
-
show intention actions 显示意图动作(目前不明白)
option + enter -
smart code completion
control + shift + space -
complete statement
shift + command + Enter -
parameter information
Shift + P -
quick definition
Option + space -
Quick/external documentation
Shift + f1 -
1Generate code 自动生成代码
command + N -
Override/implement members 重写/实现
control + O -
surround with
Option + command + T -
Comment with line comment 注释
Command + / -
Extend/shrink selection 扩大 缩小选择
option + ↑/option + ↓ -
context info
Contrl + shif + Q -
Optimize inports 优化引用
Control + Option + O -
Auto-indent lines
Control + Option + I -
Duplicate current line or selection
Command + D -
Move line up/down
shift + command + ↑/↓ -
Delete line at caret
Command + delete -
join/split line
Control + shif + J /command Enter -
Smart new line
shift + enter -
toggle case转换大小写
Shift + command + U -
expand / collapse code block
展开 缩进代码块
command + + / - -
Expand/collapse all
shift + command + +/- -
Save all
command + S -
Find any action inside the IDE
搜索
shift + command + A -
Run context configuration
control + option +R -
Run/debug selected configuration
Control + option + R / D -
Run/debug selected current configuration执行当前
Control + R / D -
stop
command + F2 -
Stop background processes
shift + command + F2 -
Resume program
Option + command + R -
Toggle line breakpoint
command + F8 -
Edit/view breakpoint
shift +f8 -
reformat code整理代码格式
option + command + L

浙公网安备 33010602011771号