Closed4
Terminalで今見ているディレクトリをVSCodeで開く
![esaka](https://res.cloudinary.com/zenn/image/fetch/s--WD68viAq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/d5cc82497a.jpeg)
参考->https://qiita.com/naru0504/items/c2ed8869ffbf7682cf5c
以下をやる
-
code
コマンドをVSCodeからインストール - 対象のディレクトリで
code .
を実行する
![esaka](https://res.cloudinary.com/zenn/image/fetch/s--WD68viAq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/d5cc82497a.jpeg)
1. code コマンドをVSCodeからインストール
- VSCodeを開いて
⌘ + ⇧ + P
を叩いてコマンドパレット開く -
shell
とタイプして、Shell Command: Install 'code' command in Path
を実行
![esaka](https://res.cloudinary.com/zenn/image/fetch/s--WD68viAq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/d5cc82497a.jpeg)
code .
を実行する
2. 対象のディレクトリでそのまま、
![esaka](https://res.cloudinary.com/zenn/image/fetch/s--WD68viAq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/d5cc82497a.jpeg)
/close
このスクラップは2021/09/29にクローズされました