V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
fatea
V2EX  ›  问与答

Sublime Text 3 在 Mac 下无法使用 Scanner(java)怎么办?

  •  
  •   fatea · 2014-10-30 14:28:45 +08:00 · 3180 次点击
    这是一个创建于 3482 天前的主题,其中的信息可能已经有所发展或是发生改变。
    这个帖子给出了windows下的解决方案: http://stackoverflow.com/questions/23772636/sublimetext3-doesnt-recognize-scanner-class

    但是mac下的build配置写法好像不太一样。。。把帖子里的配置复制过来识别不出command
    这是我原来的JavaC.sublime-build,来完成Command+b编译加运行
    {
    "cmd": ["javac \"$file\" && java \"$file_base_name\""],
    "shell":true,
    "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
    "selector": "source.java"
    }
    请问我该怎么配置才能使用Scanner呢?
    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2769 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:14 · PVG 19:14 · LAX 04:14 · JFK 07:14
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.