Get the App
SLTechnology News&Howtos  ›  Development  › 

How does pycharm move the code block up / down using the keyboard

Shulou Source: shulou.com Published: 2022-06-01 03:55:24 10月02日 Update

This article is about how pycharm moves blocks of code up / down using the keyboard. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Use the keyboard to move the code block up / down

We want to quickly process the code in the editor. Using cut-and-paste is a quick way, but there is a better way not to delete code from the file for the time being. Make a selection (without using the mouse), and then use (Shift-Alt-Up / Down Win / Linux,Option-Shift-Up / Down macOS) to move the selection to the target row. In the view, the selection keeps dragging.

Thank you for reading! This is the end of this article on "how pycharm uses the keyboard to move code blocks up / down". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it out for more people to see!

Tags: Code keyboard mobile content method more article selection good practical file article goal look knowledge editor view mouse cut reference Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno macOS Huawei Xiaomi MySQL