首先,如果我们电脑没有Consolas,需要先下载这个字体,下载链接:Consolas字体免费下载和在线预览-字体天下
然后我们打开字体,点击安装:
安装完成后打开IntelliJ IDEA软件,点击file,然后点击settings:
点击Editor,然后点击Font,将字体改为Consolas:
最后打开Color Scheme Font,取消勾选Use color scheme font instead of the default (Consolas, 14),如下图:
完成设置!