/// If you add or remove nodes from the default_config_file, increase the juci
/// If you add or remove nodes from the default_config_file, increase the juci
/// version number (JUCI_VERSION) in ../CMakeLists.txt to automatically apply
/// version number (JUCI_VERSION) in ../CMakeLists.txt to automatically apply
/// the changes to user's ~/.juci/config/config.json files
/// the changes to user's ~/.juci/config/config.json files
conststd::stringdefault_config_file=
conststd::stringdefault_config_file=R"RAW({
R"RAW({
"version":")RAW"+
"version":")RAW"+
std::string(JUCI_VERSION)+
std::string(JUCI_VERSION)+
R"RAW(",
R"RAW(",
"gtk_theme":{
"gtk_theme":{
"name_comment":"Use \"\" for default theme, At least these two exist on all systems: Adwaita, Raleigh",
"name_comment":"Use \"\" for default theme, At least these two exist on all systems: Adwaita, Raleigh",
"name":"",
"name":"",
"variant_comment":"Use \"\" for default variant, and \"dark\" for dark theme variant. Note that not all themes support dark variant, but for instance Adwaita does",
"variant_comment":"Use \"\" for default variant, and \"dark\" for dark theme variant. Note that not all themes support dark variant, but for instance Adwaita does",
"variant":"",
"variant":"",
"font_comment":"Set to override theme font, for instance: \"Arial 12\"",
"font_comment":"Set to override theme font, for instance: \"Arial 12\"",
"font":""
"font":""
},
},
"source":{
"source":{
"style_comment":"Use \"\" for default style, and for instance juci-dark or juci-dark-blue together with dark gtk_theme variant. Styles from normal gtksourceview install: classic, cobalt, kate, oblivion, solarized-dark, solarized-light, tango",
"style_comment":"Use \"\" for default style, and for instance juci-dark or juci-dark-blue together with dark gtk_theme variant. Styles from normal gtksourceview install: classic, cobalt, kate, oblivion, solarized-dark, solarized-light, tango",
"style":"juci-light",
"style":"juci-light",
"font_comment":"Use \"\" for default font, and for instance \"Monospace 12\" to also set size",)RAW"
"font_comment":"Use \"\" for default font, and for instance \"Monospace 12\" to also set size",)RAW"
#ifdef __APPLE__
#ifdef __APPLE__
R"RAW(
R"RAW(
"font":"Menlo",)RAW"
"font":"Menlo",)RAW"
#else
#else
#ifdef _WIN32
#ifdef _WIN32
R"RAW(
R"RAW(
"font":"Consolas",)RAW"
"font":"Consolas",)RAW"
#else
#else
R"RAW(
R"RAW(
"font":"Monospace",)RAW"
"font":"Monospace",)RAW"
#endif
#endif
#endif
#endif
R"RAW(
R"RAW(
"cleanup_whitespace_characters_comment":"Remove trailing whitespace characters on save, and add trailing newline if missing",
"cleanup_whitespace_characters_comment":"Remove trailing whitespace characters on save, and add trailing newline if missing",
"cleanup_whitespace_characters":false,
"cleanup_whitespace_characters":false,
"show_whitespace_characters_comment":"Determines what kind of whitespaces should be drawn. Use comma-separated list of: space, tab, newline, nbsp, leading, text, trailing or all",
"show_whitespace_characters_comment":"Determines what kind of whitespaces should be drawn. Use comma-separated list of: space, tab, newline, nbsp, leading, text, trailing or all",
"show_whitespace_characters":"",
"show_whitespace_characters":"",
"format_style_on_save_comment":"Performs style format on save if supported on language in buffer",
"format_style_on_save_comment":"Performs style format on save if supported on language in buffer",
"format_style_on_save":false,
"format_style_on_save":false,
"format_style_on_save_if_style_file_found_comment":"Format style if format file is found, even if format_style_on_save is false",
"format_style_on_save_if_style_file_found_comment":"Format style if format file is found, even if format_style_on_save is false",
"format_style_on_save_if_style_file_found":true,
"format_style_on_save_if_style_file_found":true,
"smart_brackets_comment":"If smart_inserts is enabled, this option is automatically enabled. When inserting an already closed bracket, the cursor might instead be moved, avoiding the need of arrow keys after autocomplete",
"smart_brackets_comment":"If smart_inserts is enabled, this option is automatically enabled. When inserting an already closed bracket, the cursor might instead be moved, avoiding the need of arrow keys after autocomplete",
"smart_brackets":true,
"smart_brackets":true,
"smart_inserts_comment":"When for instance inserting (, () gets inserted. Applies to: (), [], \", '. Also enables pressing ; inside an expression before a final ) to insert ; at the end of line, and deletions of empty insertions",
"smart_inserts_comment":"When for instance inserting (, () gets inserted. Applies to: (), [], \", '. Also enables pressing ; inside an expression before a final ) to insert ; at the end of line, and deletions of empty insertions",
"smart_inserts":true,
"smart_inserts":true,
"show_map":true,
"show_map":true,
"map_font_size":"1",
"map_font_size":1,
"show_git_diff":true,
"show_git_diff":true,
"show_background_pattern":true,
"show_background_pattern":true,
"show_right_margin":false,
"show_right_margin":false,
"right_margin_position":80,
"right_margin_position":80,
"spellcheck_language_comment":"Use \"\" to set language from your locale settings",
"spellcheck_language_comment":"Use \"\" to set language from your locale settings",
"spellcheck_language":"en_US",
"spellcheck_language":"en_US",
"auto_tab_char_and_size_comment":"Use false to always use default tab char and size",
"auto_tab_char_and_size_comment":"Use false to always use default tab char and size",
"auto_tab_char_and_size":true,
"auto_tab_char_and_size":true,
"default_tab_char_comment":"Use \"\t\" for regular tab",
"default_tab_char_comment":"Use \"\t\" for regular tab",
"default_tab_char":"",
"default_tab_char":"",
"default_tab_size":2,
"default_tab_size":2,
"tab_indents_line":true,
"tab_indents_line":true,
"word_wrap_comment":"Specify language ids that should enable word wrap, for instance: chdr, c, cpphdr, cpp, js, python, or all to enable word wrap for all languages",
"word_wrap_comment":"Specify language ids that should enable word wrap, for instance: chdr, c, cpphdr, cpp, js, python, or all to enable word wrap for all languages",
"word_wrap":"markdown, latex",
"word_wrap":"markdown, latex",
"highlight_current_line":true,
"highlight_current_line":true,
"show_line_numbers":true,
"show_line_numbers":true,
"enable_multiple_cursors":false,
"enable_multiple_cursors":false,
"auto_reload_changed_files":true,
"auto_reload_changed_files":true,
"search_for_selection":true,
"search_for_selection":true,
"clang_format_style_comment":"IndentWidth, AccessModifierOffset and UseTab are set automatically. See http://clang.llvm.org/docs/ClangFormatStyleOptions.html",
"clang_format_style_comment":"IndentWidth, AccessModifierOffset and UseTab are set automatically. See http://clang.llvm.org/docs/ClangFormatStyleOptions.html",
"clang_tidy_enable_comment":"Enable clang-tidy in new C/C++ buffers",
"clang_tidy_enable_comment":"Enable clang-tidy in new C/C++ buffers",
"clang_tidy_enable":false,
"clang_tidy_enable":false,
"clang_tidy_checks_comment":"In new C/C++ buffers, these checks are appended to the value of 'Checks' in the .clang-tidy file, if any",
"clang_tidy_checks_comment":"In new C/C++ buffers, these checks are appended to the value of 'Checks' in the .clang-tidy file, if any",
"clang_tidy_checks":"",
"clang_tidy_checks":"",
"clang_usages_threads_comment":"The number of threads used in finding usages in unparsed files. -1 corresponds to the number of cores available, and 0 disables the search",
"clang_usages_threads_comment":"The number of threads used in finding usages in unparsed files. -1 corresponds to the number of cores available, and 0 disables the search",
"clang_usages_threads":-1,
"clang_usages_threads":-1,
"clang_detailed_preprocessing_record_comment":"Set to true to, at the cost of increased resource use, include all macro definitions and instantiations when parsing new C/C++ buffers. You should reopen buffers and delete build/.usages_clang after changing this option.",
"clang_detailed_preprocessing_record_comment":"Set to true to, at the cost of increased resource use, include all macro definitions and instantiations when parsing new C/C++ buffers. You should reopen buffers and delete build/.usages_clang after changing this option.",
"clang_detailed_preprocessing_record":false,
"clang_detailed_preprocessing_record":false,
"debug_place_cursor_at_stop":false
"debug_place_cursor_at_stop":false
},
},
"terminal":{
"terminal":{
"history_size":10000,
"history_size":10000,
"font_comment":"Use \"\" to use source.font with slightly smaller size",
"font_comment":"Use \"\" to use source.font with slightly smaller size",
"font":"",
"font":"",
"clear_on_compile":true,
"clear_on_compile":true,
"clear_on_run_command":false,
"clear_on_run_command":false,
"hide_entry_on_run_command":true
"hide_entry_on_run_command":true
},
},
"project":{
"project":{
"default_build_path_comment":"Use <project_directory_name> to insert the project top level directory name",
"default_build_path_comment":"Use <project_directory_name> to insert the project top level directory name",
"default_build_path":"./build",
"default_build_path":"./build",
"debug_build_path_comment":"Use <project_directory_name> to insert the project top level directory name, and <default_build_path> to insert your default_build_path setting.",
"debug_build_path_comment":"Use <project_directory_name> to insert the project top level directory name, and <default_build_path> to insert your default_build_path setting.",
"debug_build_path":"<default_build_path>/debug",
"debug_build_path":"<default_build_path>/debug",
"cmake":{)RAW"
"cmake":{)RAW"
#ifdef _WIN32
#ifdef _WIN32
R"RAW(
R"RAW(
"command":"cmake -G\"MSYS Makefiles\"",)RAW"
"command":"cmake -G\"MSYS Makefiles\"",)RAW"
#else
#else
R"RAW(
R"RAW(
"command":"cmake",)RAW"
"command":"cmake",)RAW"
#endif
#endif
R"RAW(
R"RAW(
"compile_command":"cmake --build ."
"compile_command":"cmake --build ."
},
},
"meson":{
"meson":{
"command":"meson",
"command":"meson",
"compile_command":"ninja"
"compile_command":"ninja"
},
},
"default_build_management_system_comment":"Select which build management system to use when creating a new C or C++ project, for instance \"cmake\" or \"meson\"",
"default_build_management_system_comment":"Select which build management system to use when creating a new C or C++ project, for instance \"cmake\" or \"meson\"",