TorchIDE-ZeroBrand颜色配置

1.在调试torch7时,在interpreter上要记得选择torch7.lua的解释器。

2.在适用zerobrand时,可通过修改user.lua文件来配置zerobrand的代码风格,debug模式下可调试,以及注意要在目录下呼叫zbstudio启动,才可保证不会找不到torch.lua的情况。

配置文件如下:

--[[--
  Use this file to specify **User** preferences.
  Review [examples](+/opt/zbstudio/cfg/user-sample.lua) or check [online documentation](http://studio.zerobrane.com/documentation.html) for details.
--]]--


styles = loadfile('cfg/tomorrow.lua')('TomorrowNight')


-- to have 4 spaces when TAB is used in the editor
editor.tabwidth = 2


-- to have TABs stored in the file (to allow mixing tabs and spaces)
editor.usetabs  = true


-- to disable wrapping of long lines in the editor
editor.usewrap = false


-- to force execution to continue immediately after starting debugging;
-- set to `f

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值