VS Code tips — Quickly moving around lines of code

preview_player
Показать описание
Today's VS Code tip: quickly moving around code

Hold down option/alt and use the arrow keys to quickly move around the current line or current selection.

This is useful for reordering lists or shifting around blocks of code.
Рекомендации по теме
Комментарии
Автор

Your tip is very useful. But there is another case. What if I want to move a whole and collapsed section?

preacherluigi