From 33663d4ddae69ef000bb884c9cc0565bb14dabc8 Mon Sep 17 00:00:00 2001 From: Rongxin Liu Date: Mon, 1 Jul 2024 20:23:25 -0400 Subject: [PATCH] enable auto-save for RStudio --- opt/cs50/lib/rstudio/rstudio-prefs.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/opt/cs50/lib/rstudio/rstudio-prefs.json b/opt/cs50/lib/rstudio/rstudio-prefs.json index 08aae489..df7101d8 100644 --- a/opt/cs50/lib/rstudio/rstudio-prefs.json +++ b/opt/cs50/lib/rstudio/rstudio-prefs.json @@ -2,6 +2,9 @@ "always_save_history": false, "auto_append_newline": true, "auto_discover_package_dependencies": false, + "auto_save_idle_ms": 1000, + "auto_save_on_blur": true, + "auto_save_on_idle": "commit", "code_completion": "never", "editor_theme": "Tomorrow Night Bright", "enable_cloud_publish_ui": false,