LoginSignup
127
114

More than 5 years have passed since last update.

Visual Studio Code + mac で非常に良く使うショートカット

Last updated at Posted at 2017-09-05

コード整形

整形したい範囲を選択して、
Cmd + K → Cmd + F

バックシュラッシュ「\」の入力

alt(option) + ¥

区切りがいいところまで移動

alt + ←or→

端っこまで移動

Cmd + ←or→

タブ移動

左移動
shift + Cmd + [

右移動
shift + Cmd + ]

Grep 横断検索

Shift + Cmd + F

※ほとんど他エディターと共通ですが。

一行選択

マウスで左クリック x3回

すべて選択

マウスで左クリック x4回

他のファイルをサクッと検索して開く

Cmd + p

で、検索窓がでる

image.png

誤字変数を修正する

変数を選択して + F2

image.png

※ちゃんと参照している4つの変数名も変換してくれる!リファクタリングにとても便利!

環境

macOS sierra
Visual Studio Code バージョン1.15.1 (1.15.1)

127
114
2

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
127
114