llrs / rutils

Personal package for helping with my day to day work
https://llrs.github.io/rutils/
GNU General Public License v3.0
3 stars 0 forks source link

Rstudio configuration #1

Open llrs opened 1 year ago

llrs commented 1 year ago

Example of configuration file for Rstudio

{
    "num_spaces_for_tab": 4,
    "check_arguments_to_r_function_calls": true,
    "strip_trailing_whitespace": true,
    "syntax_color_console": true,
    "highlight_r_function_calls": true,
    "font_size_points": 14,
    "default_project_location": "~/Documents/Projects",
    "document_author": "Lluís Revilla Sancho",
    "wrap_tab_navigation": false,
    "save_workspace": "never",
    "reuse_sessions_for_project_links": true,
    "console_double_click_select": true,
    "help_font_size_points": 14,
    "load_workspace": false,
    "show_last_dot_value": true,
    "cran_mirror": {
        "name": "Spain (A Coruña) [https]",
        "host": "Oficina de software libre (CIXUG)",
        "url": "https://ftp.cixug.es/CRAN/",
        "country": "es",
        "ok": 1,
        "secondary": ""
    },
    "posix_terminal_shell": "bash",
    "jobs_tab_visibility": "shown",
    "rainbow_parentheses": true,
    "check_unexpected_assignment_in_function_call": true,
    "warn_if_no_such_variable_in_scope": true,
    "warn_variable_defined_but_not_used": true,
    "style_diagnostics": true,
    "rmd_viewer_type": "pane",
    "auto_append_newline": true,
    "rmd_chunk_output_inline": false,
    "packages_pane_enabled": false,
    "initial_working_directory": "~/Documents/Projects",
    "tab_multiline_completion": true,
    "visual_markdown_editing_is_default": true,
    "visual_markdown_editing_wrap": "sentence",
    "shiny_background_jobs": true,
    "insert_native_pipe_operator": true,
    "background_diagnostics_delay_ms": 1500,
    "panes": {
        "quadrants": [
            "Source",
            "Console",
            "TabSet1",
            "TabSet2"
        ],
        "tabSet1": [
            "Environment",
            "History",
            "Connections",
            "Build",
            "VCS",
            "Tutorial",
            "Presentation"
        ],
        "tabSet2": [
            "Files",
            "Plots",
            "Packages",
            "Help",
            "Viewer",
            "Presentations"
        ],
        "hiddenTabSet": [],
        "console_left_on_top": false,
        "console_right_on_top": true,
        "additional_source_columns": 0
    },
    "pdf_previewer": "none",
    "margin_column": 81,
    "continue_comments_on_newline": true,
    "git_diff_ignore_whitespace": true,
    "editor_theme": "Night Owl"
}
llrs commented 1 year ago

Should check if the theme is available or something similar (I assume all the other options will be there)

llrs commented 6 months ago

Disable copilot indexing (source):

"copilot_indexing_enabled": false