|
|
|
|
@ -205,6 +205,7 @@ void Config::read(const JSON &cfg) {
|
|
|
|
|
terminal.clear_on_compile = terminal_json.boolean("clear_on_compile", JSON::ParseOptions::accept_string); |
|
|
|
|
terminal.clear_on_run_command = terminal_json.boolean("clear_on_run_command", JSON::ParseOptions::accept_string); |
|
|
|
|
terminal.hide_entry_on_run_command = terminal_json.boolean("hide_entry_on_run_command", JSON::ParseOptions::accept_string); |
|
|
|
|
terminal.word_wrap = terminal_json.boolean("word_wrap", JSON::ParseOptions::accept_string); |
|
|
|
|
|
|
|
|
|
auto log_json = cfg.object("log"); |
|
|
|
|
log.libclang = log_json.boolean("libclang", JSON::ParseOptions::accept_string); |
|
|
|
|
@ -319,7 +320,8 @@ std::string Config::default_config() {
|
|
|
|
|
"font": "", |
|
|
|
|
"clear_on_compile": true, |
|
|
|
|
"clear_on_run_command": false, |
|
|
|
|
"hide_entry_on_run_command": true |
|
|
|
|
"hide_entry_on_run_command": true, |
|
|
|
|
"word_wrap": false |
|
|
|
|
}, |
|
|
|
|
"project": { |
|
|
|
|
"default_build_path_comment": "Use <project_directory_name> to insert the project top level directory name", |
|
|
|
|
|