A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.
Python artificial-intelligencedagdata-sciencedata-visualizationdataflowdeveloper-toolsmachine-learningnotebookspipelinepythonreactivesqlweb-app
Enable reactive reference highlighting by default (#7483)
Trevor Manz51595c2adb4f
diff --git a/frontend/src/core/codemirror/cm.ts b/frontend/src/core/codemirror/cm.tsindex bd1b9f67cb..664d4d35d2 100644--- a/frontend/src/core/codemirror/cm.ts+++ b/frontend/src/core/codemirror/cm.ts@@ -152,7 +152,7 @@ export const setupCodeMirror = (opts: CodeMirrorSetupOpts): Extension[] => {// Reactive references highlightingreactiveReferencesBundle(cellId,- displayConfig.reference_highlighting ?? false,+ displayConfig.reference_highlighting ?? true,),];};diff --git a/frontend/src/core/config/__tests__/config-schema.test.ts b/frontend/src/core/config/__tests__/config-schema.test.tsindex 0e583f3fb3..fa2756795a 100644--- a/frontend/src/core/config/__tests__/config-schema.test.ts+++ b/frontend/src/core/config/__tests__/config-schema.test.ts@@ -65,7 +65,7 @@ test("default UserConfig - empty", () => {"default_table_max_columns": 50,"default_table_page_size": 10,"default_width": "medium",- "reference_highlighting": false,+ "reference_highlighting": true,"theme": "light",},"experimental": {},@@ -133,7 +133,7 @@ test("default UserConfig - one level", () => {"default_table_max_columns": 50,"default_table_page_size": 10,"default_width": "medium",- "reference_highlighting": false,+ "reference_highlighting": true,"theme": "light",},"experimental": {},diff --git a/frontend/src/core/config/config-schema.ts b/frontend/src/core/config/config-schema.tsindex 13fded6408..70accf4f3b 100644--- a/frontend/src/core/config/config-schema.ts+++ b/frontend/src/core/config/config-schema.ts@@ -145,7 +145,7 @@ export const UserConfigSchema = zreturn width;}),locale: z.string().nullable().optional(),- reference_highlighting: z.boolean().prefault(false),+ reference_highlighting: z.boolean().prefault(true),}).prefault({}),package_management: zdiff --git a/marimo/_config/config.py b/marimo/_config/config.pyindex fb49dcc7c9..e7f882c799 100644--- a/marimo/_config/config.py+++ b/marimo/_config/config.py@@ -632,7 +632,7 @@ DEFAULT_CONFIG: MarimoConfig = {"dataframes": "rich","default_table_page_size": 10,"default_table_max_columns": 50,- "reference_highlighting": False,+ "reference_highlighting": True,},"formatting": {"line_length": 79},"keymap": {"preset": "default", "overrides": {}},