#ifndef JUCI_FILES_H_ #define JUCI_FILES_H_ #include const std::string default_config_file = R"RAW({ "version": ")RAW"+std::string(JUCI_VERSION)+R"RAW(", "default_window_size": { "width": 800, "height": 600 }, "gtk_theme": { "name_comment": "Use \"\" for default theme, At least these two exist on all systems: Adwaita, Raleigh", "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": "" }, "terminal": { "history_size": 1000, "font_comment": "Use \"\" to use source.font with slightly smaller size", "font": "", "show_progress": true }, "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": "juci-light", "font_comment": "Use \"\" for default font, and for instance \"Monospace 12\" to also set size",)RAW" #ifdef __APPLE__ R"RAW( "font": "Menlo 11",)RAW" #else #ifdef _WIN32 R"RAW( "font": "Consolas",)RAW" #else R"RAW( "font": "Monospace",)RAW" #endif #endif R"RAW( "cleanup_whitespace_characters_comment": "Remove trailing whitespace characters on save, and add trailing newline if missing", "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": "", "show_map": true, "map_font_size": "1", "show_git_diff": true, "show_background_pattern": true, "spellcheck_language_comment": "Use \"\" to set language from your locale settings", "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": true, "default_tab_char_comment": "Use \"\t\" for regular tab", "default_tab_char": " ", "default_tab_size": 2, "tab_indents_line": true, "wrap_lines": false, "highlight_current_line": true, "show_line_numbers": true, "clang_types": { "8": "def:function", "21": "def:function", "22": "def:identifier", "24": "def:function", "25": "def:function", "43": "def:type", "44": "def:type", "45": "def:type", "46": "def:identifier", "109": "def:string", "702": "def:statement", "705": "def:comment" }, "clang_format_style_comment": "IndentWidth, AccessModifierOffset and UseTab are set automatically. See http://clang.llvm.org/docs/ClangFormatStyleOptions.html", "clang_format_style": "ColumnLimit: 0, MaxEmptyLinesToKeep: 2" }, "keybindings": { "preferences": "comma", "quit": "q", "new_file": "n", "new_folder": "n", "open_file": "o", "open_folder": "o", "save": "s", "save_as": "s", "print": "p", "edit_undo": "z", "edit_redo": "z", "edit_cut": "x", "edit_copy": "c", "edit_paste": "v", "edit_find": "f", "edit_set_tab": "", "source_spellcheck": "", "source_spellcheck_clear": "", "source_spellcheck_next_error": "e", "source_git_next_diff": "k", "source_git_show_diff": "k", "source_indentation_set_buffer_tab": "", "source_indentation_auto_indent_buffer": "i", "source_goto_line": "g", "source_center_cursor": "l", "source_find_symbol_ctags": "f", "source_find_documentation": "d", "source_goto_declaration": "d", "source_goto_implementation": "i", "source_goto_usage": "u", "source_goto_method": "m", "source_rename": "r", "source_implement_method": "m", "source_goto_next_diagnostic": "e", "source_apply_fix_its": "space", "project_set_run_arguments": "", "compile_and_run": "Return", "compile": "Return", "run_command": "Return", "kill_last_running": "Escape", "force_kill_last_running": "Escape", "debug_set_run_arguments": "", "debug_start_continue": "y", "debug_stop": "y", "debug_kill": "k", "debug_step_over": "j", "debug_step_into": "t", "debug_step_out": "t", "debug_backtrace": "j", "debug_show_variables": "b", "debug_run_command": "Return", "debug_toggle_breakpoint": "b", "debug_goto_stop": "l",)RAW" #ifdef __linux R"RAW( "next_tab": "Tab", "previous_tab": "Tab",)RAW" #else R"RAW( "next_tab": "Right", "previous_tab": "Left",)RAW" #endif R"RAW( "close_tab": "w", "window_toggle_split": "" }, "project": { "default_build_path_comment": "Use to insert the project top level directory name", "default_build_path": "./build", "debug_build_path_comment": "Use to insert the project top level directory name, and to insert your default_build_path setting.", "debug_build_path": "/debug",)RAW" #ifdef _WIN32 R"RAW( "cmake_command": "cmake -G\"MSYS Makefiles\"",)RAW" #else R"RAW( "cmake_command": "cmake",)RAW" #endif R"RAW( "make_command": "cmake --build .", "save_on_compile_or_run": true, "clear_terminal_on_compile": true, "ctags_command": "ctags" }, "documentation_searches": { "clang": { "separator": "::", "queries": { "@empty": "https://www.google.com/search?btnI&q=c%2B%2B+", "std": "https://www.google.com/search?btnI&q=site:http://www.cplusplus.com/reference/+", "boost": "https://www.google.com/search?btnI&q=site:http://www.boost.org/doc/libs/1_59_0/+", "Gtk": "https://www.google.com/search?btnI&q=site:https://developer.gnome.org/gtkmm/stable/+", "@any": "https://www.google.com/search?btnI&q=" } } } } )RAW"; const std::string juci_light_style = R"RAW( juCi++ team <_description>Default juCi++ style