Onboarding tour
Project view包含工程目录,特定SDK的外部库和临时文件(scarch file)
快捷键是ctrl+shift+e
pycharm提供了配置好的Python解释器,可以自己修改,在状态栏中的python interpreter selector
Run widget包括
- run
- debug
- profile
- coverage
如何解决代码的问题
ctrl+.可以弹出quick fix
两次shift弹出search everywhere输入case选中toggle case转换大小写
Context actions
ctrl+.调出上下文动作
Search for actions
ctrl+shift+p 输入about和show line numbers
Exapand and shrink the code selection
alt+shift+right arrow
- once 选中一个单词
- twice 选中一个字符串(一个句子)
- three times 选中一个字符串include quotes
- 一直点直到选中一句statement
在主联结词处alt+shift+right arrow可以选中整个block
Duplicate and delete lines
删除ctrl+shift+k
Move the whole method up
actions界面内move statement up
Collapse
surround and unwrap
ctrl shift alt t
postfix completion
输入.if可以把真子句嵌到if里
type matching completion
smart completion
f-string coversion
refractoring menu
local history
parameter info
documentation tool window
两次ctrl+k, ctrl+i
快速跳转到下一个错误点
ctrl+f8
Navigation
declaration and usages
ctrl+j 隐藏视图
recent file
debug
debugger watch