sublime text 2使用手记

java相关配置

在ST2里面新建一个Building System(Tools–>Building System–>New Building System),在弹出的文本框里面输入以下内容:

{
    "cmd": ["javac -encoding UTF-8 ", "$file_name", "&&", "java", "$file_base_name"],
    "working_dir": "${project_path:${folder}}",
    "file_regex": "^(...*?):([0-9]*):?([0-9]*)",
    "selector": "source.java",
    "shell": true,
    "encoding": "GBK"
}
保存即可。


你可能感兴趣的:(st2,手记)