LoginSignup
1
2

More than 5 years have passed since last update.

MacのVSCodeでConsolasを使いたい

Last updated at Posted at 2019-01-19

MACでコード書いているとConsolasが恋しくなる。。。

こんな gist があった

シンプルやねぇ。
元ネタのほう > http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x
元ネタと、Gist投稿者、Consolas製作者に祈りと感謝を捧げます。

Gistのほうのコードは少し古くなってるのでちょいと修正します

# Thanks to this post
# http://blog.ikato.com/post/15675823000/how-to-install-consolas-font-on-mac-os-x
# and post of Gist too
# https://gist.github.com/avalonalex/8125197
# Thanks maintenance by Gist users

$ brew install cabextract

$ cd ~/Downloads
$ mkdir consolas
$ cd consolas
$ curl -LO https://sourceforge.net/projects/mscorefonts2/files/cabs/PowerPointViewer.exe
$ cabextract PowerPointViewer.exe
$ cabextract ppviewer.cab
$ open CONSOLA*.TTF

PowerPointVoewer.exe のDL用のURLが変わってるだけ。
最後の行でフォントファイルを開いているのでインストールすれば完了。。。

VSCodeで使いたいんだが

  1. ということで VSCode 開いて
  2. 設定画面開いて
  3. font で検索して
  4. Consolas を設定の一番最初に追加すれば完了

Atom Keymap を入れてるせいでデフォルトのショートカットがわからないとか。。。

しょうが無ですやん。
もともとAtom使ってたし。
いまさら消せないですやん。。。

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