randy3k / Terminus

Bring a real terminal to Sublime Text
https://packagecontrol.io/packages/Terminus
MIT License
1.39k stars 81 forks source link

C++ terminus build system #265

Open opperwezen007 opened 3 years ago

opperwezen007 commented 3 years ago

{ "target":"terminus_open", "shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\"", "file_regex": "^(..[^:]):([0-9]+):?([0-9]+)?:? (.)$", "working_dir": "${file_path}", "selector": "source.c++",

"variants":
[
    {
        "name": "Run",
        "shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\" && \"${file_path}/${file_base_name}\""
    }
]

} This is the build system , i am trying to implement for my c++ programs to run in terminus but this ends up opening a empty powershell tab. When i am using alt+` keybinding to do it, it works but opens in a panel, so i wanted to implement this.