simvx.ide.config¶
Persistent IDE settings stored via the unified AppConfig.
Config exposes flat-name accessors over AppConfig.general and
AppConfig.ide sections. All colours come from the AppTheme singleton.
Module Contents¶
Classes¶
IDE preferences backed by the unified |
Data¶
API¶
- simvx.ide.config.log¶
‘getLogger(…)’
- class simvx.ide.config.Config[source]¶
IDE preferences backed by the unified
AppConfig.Flat attribute accessors map to
AppConfig.generalandAppConfig.idesections. Colours are provided by theAppThemesingleton (seesimvx.core.ui.theme).Initialization
- static detect_venv(project_root: str) str | None[source]¶
Detect a virtual environment in project_root.
Checks common venv directory names (.venv, venv, .env) for a Python interpreter. Returns the absolute path to the venv directory, or None.
- get_python_command(project_root: str) str[source]¶
Return the Python interpreter path to use for this project.
Priority: explicit
python_pathsetting > auto-detected venv > systempython.
- get_env(project_root: str) dict[str, str][source]¶
Build a subprocess environment dict with the detected venv activated.
- get_theme() simvx.core.ui.theme.AppTheme[source]¶
Return an
AppThemematching the current preset and set the global singleton.