LightTable:更改Julia代码字体和console中字体

在用LT做Julia的IDE, 其中会有一个麻烦的地方,对于新使用者来讲,不是方便的,就是字体的设置。

(1)代码的字体设置

 在 user.behaviors文件中设置。以例说明:

--------------------------------------

     :editor [:lt.objs.editor/wrap
              (:lt.objs.style/set-theme "default")
                (:lt.objs.editor/fold-gutter)
              (:lt.objs.editor/highlight-current-line)
              (:lt.objs.tabs/set-width-final!  "2")
              (:lt.plugins.match-highlighter/enable)
              (:lt.objs.editor/scroll-past-end)
              (:lt.objs.editor.file/preserve-line-endings)
              (:lt.objs.style/font-settings "my-font" "18" "1.1")  
            :lt.objs.editor/scroll-past-end]

-----------------------------------------------

其中:(:lt.objs.style/font-settings "my-font" "18" "1.1")  这行就是专设置代码字体的。

(2)在显示console字体中,并不在user.behaviors中进行设置。

而是在 "....\core\css\skins\new_dark.css”, 以我为例,在

“F:\相关软件\lightTable\LightTable\core\css\skins\new_dark.css” 文件中。

请找到:大约文件122行位置:

原文:

.console > li, .console td { color:var(accent-foreground); }

替换为:

.console > li, .console td { color:var(accent-foreground); font-size: 15pt !important;}

就可以了,当然字体大小,自己进行具体设置。我用的是15,感觉20以上的字体就太大。

但需重启后生效!



  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值