方式一:
新建一个
Building System(Tools–>Building System–>New Building System),
在弹出的文本框里面输入以下内容:
<code><pre>
{ "cmd": ["javac", "$file_name", "&&", "java", "$file_base_name"], "working_dir": "${project_path:${folder}}", "selector": "source.java", "shell": true, "encoding":"gbk" } "encoding":"gbk"
</pre></code>
编码可以根据情况更换utf-8.
给个github follow me的链接,上面有很多初学者可供学习的资料,项目.
<a>https://github.com/SuperZee</a>
网友评论