Configuration File
The default configuration is located at:Configuration Options
Monaco Editor Settings
Customize the Monaco code editor appearance and behavior:Font size for code in the Monaco editor (in pixels).
Display line numbers in the editor. Options:
"on", "off", "relative", "interval".Output Settings
Control how cell outputs are displayed:Font size for cell output text (in pixels).
Grid Settings
Configure the canvas grid snapping behavior:Horizontal grid snap interval (in pixels).
Vertical grid snap interval (in pixels).
Default Configuration
Here’s the complete default configuration:Accessing Configuration
The configuration is loaded when the application starts:- The frontend fetches configuration from the
/configendpoint - Configuration is stored in the
configSvelte store - Components can access config values using
$config.monaco.fontSize, etc.
Editor Features
The Monaco editor in Ganimede includes these built-in features:- Font: Fira Code with ligatures support
- Word Wrap: Enabled by default
- Minimap: Disabled for cleaner interface
- Theme: Automatically switches between light (Active4D) and dark (VS Dark) based on system preferences
- Line Highlighting: Disabled for minimal distraction
- Automatic Layout: Editor adjusts height based on content