Remove build system, add search for remedy file, remove all in one

Cleaning up the plugin a bit, seems like going the build system
route was not worth it. Minimal gains, a lot of additional mental overhead.
As much as I love sublime the plugin api is not great for more complicated
things.

Instead by default plugin seeks for a nearby remedy file, hopefully this
will help a bit.
This commit is contained in:
Krzosa Karol
2024-01-25 11:39:50 +01:00
parent f0dabdd978
commit 3acca1409a
6 changed files with 79 additions and 313 deletions

View File

@@ -1,14 +1,6 @@
{
// NOTE to build_before_debugging
// You need a project and a build system inside that project if you want build_before_debugging,
// Sublime API doesnt allow for querying of the selected build system, I need to essentially emulate that process.
// Look here to figure out the project format: https://www.sublimetext.com/docs/projects.html
// Additionally you need a field called "remedy_build_system" to signal which
// build system was chosen if you have more then 1 build system.
"build_before_debugging": true,
"stop_debugging_on_build_command": true,
"executable": "remedybg.exe",
"search_for_remedy_file_in_current_dir": true,
"vc_vars_cmd": "C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Auxiliary/Build/vcvarsall.bat",
"vc_vars_arch": "amd64",
"output_debug_strings_to_console": true,
}