教程
下載
在倉庫下載最新字體:https://github.com/tonsky/FiraCode/releases

安裝
下載成功後解壓到任意位置(安裝完成後可刪除),找到 ttf (FiraCode-master\distr\ttf) 目錄,全選所有 .ttf 文件,點擊右鍵進行安裝,在你的電腦上安裝完成後到vscode中去配置。

下載字體後解壓
全選點擊鼠標右鍵 選擇“安裝”

使用
在VS code左下角點擊設置按鈕-->選擇設置選項(或直接Ctrl+,)打開設置,添加以下代碼並保存

打開設置內容
{
    "editor.tabCompletion": "on",
    "editor.formatOnPaste": true,
    "editor.wordWrap": "on",//視區寬度類這行
    "editor.fontSize": 17,//編輯器字體大小
    "editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace",//在編輯器中使用字體
    "editor.fontLigatures": true,//啟用字體連字
}

添加完保存就好了,如果字體沒有應用,那就重啟,畢竟世界上的80%的BUG是重啟後解決的。

arrow
arrow
    文章標籤
    Fira Code 字體 VsCode
    全站熱搜

    狼翔月影 發表在 痞客邦 留言(0) 人氣()