V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Sean
V2EX  ›  TextMate

请教TextMate 2针对.js文件设置tab=2,怎么做?

  •  
  •   Sean · 2012-04-24 20:19:24 +08:00 · 6257 次点击
    这是一个创建于 4356 天前的主题,其中的信息可能已经有所发展或是发生改变。
    1 条回复    1970-01-01 08:00:00 +08:00
    chenluois
        1
    chenluois  
       2012-04-24 20:39:46 +08:00   ❤️ 1
    .tm_properties 里加上下面几行

    [ *.js ]
    softTabs = true
    tabSize = 2
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3133 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 12:41 · PVG 20:41 · LAX 05:41 · JFK 08:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.