2
注意该字体有版权, 仅限于个人使用. 禁止分发

Any font available on macOS can be used this way and it’s clear. As I wrote, it’s prohibited to use SF Mono font in any application except Terminal and Xcode. To be more specific: there is a copyright note inside the font file that says the following:

You may use the Apple Font solely in conjunction with Apple-branded applications, including, but not limited to, Xcode, Terminal.app and Console.app. You may not embed or use the Apple Font in or with any other software applications or programs or other products and you may not use the Apple Font to create, develop, display or otherwise distribute any content, documentation, artwork or any other work product.
You may use the Apple Font only for the purposes described in this License or as otherwise expressly permitted by Apple in writing.

安装

打开 Terminal.app 的包. 找到 Fonts 目录, 选择所有SF Mono字体, 点击打开 菜单项:

然后系统会打开字体册, 点击安装按钮

clipboard.png

配置

[Command + ,]] 进入 AppCode 的首选项:

clipboard.png

这里还可以导入XCode的颜色模式

clipboard.png

下面是最后的效果, 是不是和 Xcode 差不多了.

clipboard.png


developerworks
1.7k 声望266 粉丝