dantehemerson
8/16/2018 - 8:51 AM

C++ builder for sublime text with xfce-terminal

C++ builder for sublime text with xfce-terminal

{ 
  "shell_cmd": "g++ \"$file\" -o ${file_path}/${file_base_name} && xfce4-terminal -e 'bash -c \"${file_path}/${file_base_name};echo;  echo Press ENTER to continue; read line;exit; exec bash\"'",
  "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
  "working_dir": "${file_path}",
  "selector": "source.c, source.c++, source.cxx, source.cpp",  
}