simvx.ide.config¶
Persistent IDE settings stored in ~/.config/simvx/ide.json.
IDEConfig delegates field storage to the unified AppConfig system
while preserving backward-compatible save/load using the legacy flat JSON
format. All colours come from the AppTheme singleton.
Module Contents¶
Classes¶
IDE preferences with JSON persistence. |
Data¶
API¶
- simvx.ide.config.CONFIG_DIR¶
None
- simvx.ide.config.CONFIG_FILE¶
None
- class simvx.ide.config.IDEConfig[source]¶
IDE preferences with JSON persistence.
All fields delegate to
AppConfig.generalandAppConfig.idesections. Colours are provided by theAppThemesingleton (seesimvx.core.ui.theme).Initialization
- property font_size: int¶
- property window_width: int¶
- property window_height: int¶
- property recent_files: list[str]¶
- property recent_folders: list[str]¶
- property theme_preset: str¶
- property tab_size: int¶
- property insert_spaces: bool¶
- property show_line_numbers: bool¶
- property show_minimap: bool¶
- property show_code_folding: bool¶
- property show_indent_guides: bool¶
- property auto_save: bool¶
- property format_on_save: bool¶
- property sidebar_width: int¶
- property bottom_panel_height: int¶
- property sidebar_visible: bool¶
- property bottom_panel_visible: bool¶
- property lsp_enabled: bool¶
- property lsp_command: str¶
- property lsp_args: list[str]¶
- property lint_enabled: bool¶
- property lint_on_save: bool¶
- property lint_command: str¶
- property format_command: str¶
- property python_path: str¶
- property venv_path: str¶
- property auto_detect_venv: bool¶
- property debug_adapter: str¶
- property keybindings: dict[str, str]¶
- 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.