0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

キーボードでファイル操作できるからVSCodeのSidebarがいらない

Posted at

はじめに

Youtubeに、キーボード(ショートカットや拡張機能)でVSCodeのファイル操作を紹介する動画を見つけた。

ファイルの開く、閉じる、切り替え、作成、削除、名前変更、移動などの操作がすべてキーボードで操作するので、Siderbar経由の操作より速くなる。

この記事は、動画で紹介した操作のメモです。
すべてのショートカットはマックブック版VSCodeで確認済み。

詳細

ファイルを開く、閉じる、切り替え

ファイルを開く

  1. CMD+P
  2. ファイル名を入力で探す 

ファイルを閉じる

  1. CMD+W

開いたファイルを切り替え

  1. Control Tab

ファイルの作成、削除、名前変更、移動

これから拡張機能が必要

ファイルの作成

拡張機能advanced-new-file Extensionがおすすめ

インストールあと:

  1. CMD + Shift + PでCommand Paletteを開く
  2. Advanced New Fileを入力
  3. path を入力
  4. ファイル名を入力

ファイルの削除、名前変更、移動

拡張機能File Utils Extensionがおすすめ

削除:

  1. CMD + Shift + PでCommand Paletteを開く
  2. File: Deleteを入力
  3. 確認してファイルを削除

名前の変更:

  1. CMD + Shift + PでCommand Paletteを開く
  2. File: Renameを入力
  3. 新しいファイル名を入力し、ファイルを名前変更

ファイルの移動:

  1. CMD + Shift + PでCommand Paletteを開く
  2. File: Move
  3. 新しいパスを入力しで、ファイルを移動
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?