G++
1 { 2 "cmd": ["g++", "${file}", "-o", "${file_path}/${file_base_name}"], 3 "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", 4 "working_dir": "${file_path}", 5 "selector": "source.c, source.c++", 6 "encoding":"cp936", 7 8 "variants": 9 [ 10 { 11 "name": "Run", 12 "cmd": ["cmd", "/c", "g++", "${file}", "-o", "${file_path}/${file_base_name}", "&&", "cmd", "/c", "${file_path}/${file_base_name}"] 13 }, 14 { 15 "name": "RunInCommand", 16 "shell": true, 17 "cmd": ["start", "cmd", "/c", "${file_base_name} & echo. & pause"] 18 } 19 ] 20 }
[ { "keys": ["ctrl+alt+b"], "command": "build", "args": {"variant": "RunInCommand"} } ]
Java
1 { 2 "cmd": ["javac","-encoding","UTF-8","-d",".","$file"], 3 "file_regex": "^(...*?):([0-9]*):?([0-9]*)", 4 "selector": "source.java", 5 "encoding":"GBK", 6 7 "variants": 8 [ 9 { 10 "name": "Run", 11 "shell": true, 12 "cmd" : ["start","cmd","/c", "java ${file_base_name}&pause"], 13 "working_dir": "${file_path}", 14 "encoding":"GBK" 15 } 16 ] 17 }
License
----- BEGIN LICENSE ----- Andrew Weber Single User License EA7E-855605 813A03DD 5E4AD9E6 6C0EEB94 BC99798F 942194A6 02396E98 E62C9979 4BB979FE 91424C9D A45400BF F6747D88 2FB88078 90F5CC94 1CDC92DC 8457107A F151657B 1D22E383 A997F016 42397640 33F41CFC E1D0AE85 A0BBD039 0E9C8D55 E1B89D5D 5CDB7036 E56DE1C0 EFCC0840 650CD3A6 B98FC99C 8FAC73EE D2B95564 DF450523 ------ END LICENSE ------
时间: 2024-10-27 07:24:07