0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【VSCode】矩形選択(列選択モード)が解除できなくなったときの対処法

0
Posted at

はじめに

VSCodeで作業中、気づいたらカーソルが縦一列に並ぶ「矩形選択(列選択モード)」になっていて、クリックし直しても解除できない、という状態になったときのメモです。

解決方法

コマンドパレットから列選択モードをオフにします。

  1. Ctrl + Shift + P(macOSは Cmd + Shift + P)でコマンドパレットを開く
  2. 「列選択」と入力する
  3. 表示された 「列選択モードの切り替え」 を実行する

これで通常の選択モードに戻ります。

補足

同じ操作は以下の方法でも可能です。

  • ステータスバーから:列選択モードが有効なとき、画面右下のステータスバーに「列選択」と表示されます。これをクリックすると解除できます。
  • メニューから選択列選択モード

なお、一時的に矩形選択したいだけであれば、モードを切り替えずに Shift + Alt を押しながらドラッグすればOKです。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?