[工具] 将Sublime Text 3配置为C++代码编辑器

    {  
        "path": "C:\\Dev-Cpp\\bin",  
        "cmd": ["g++.exe", "${file}", "-o", "${file_path}/${file_base_name}"],  
        "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",  
        "working_dir": "${file_path}",  
        "selector": "source.c, source.c++",  
        "encoding":"UTF-8",   
        "encoding": "cp936",  
        "variants":  
        [  
            {  
                "name": "Run",                 
             
                "shell": true,  
                "cmd" : ["start", "cmd", "/k", "${file_path}/${file_base_name} &&echo. & pause && exit"]  
            }  
        ]  
    }  

posted @ 2016-07-25 10:29  Areas  阅读(780)  评论(0编辑  收藏  举报