PyCharm commonly used shortcut keys
- Move to the beginning of this line: home button
- Move to the end of the line: end key
- Comment code: Ctrl + /
- Copy line: Ctrl + d
- Select column: left mouse button + alt (first hold down alt and then drag the mouse)
- Move line: shift + alt + up and down arrows
- Smart tip: Ctrl + Space (usually conflicts occur, you need to set it yourself)
- Line feed: Ctrl + Enter
- Code formatting: Ctrl + Alt + L
- Expand/collapse all code blocks: Ctrl + Shift +/-