1
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?

`brew edit`でVSCodeを使う方法

Posted at

Homebrewむずい...

ターミナル上で入力は私にとって難しすぎる!
と言うことでVSCodeを使ってbrew editを行う方法を調べてみました!

手順

  • VSCodeのコマンドパレットを開く
    ⌘(Command) + Shift + Pでひらけます
  • 検索窓にshell command installと入力して
    「シェルコマンド: PATH内に'code'コマンドをインストールします」をクリック
    shell command install
    (これにより、ターミナルからVSCodeが起動可能になる)
  • このコマンドを実行 export HOMEBREW_EDITOR="code"
    Homebrew規定のエディタをVSCodeに変更するみたいです

利点

  • ターミナルの扱いに慣れてなくでもbrew editがやりやすくなる!
  • 色がついて読みやすい!

最後まで読んでいただきありがとうございます。

1
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
1
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?