# {py:mod}`simvx.core.config` ```{py:module} simvx.core.config ``` ```{autodoc2-docstring} simvx.core.config :allowtitles: ``` ## Module Contents ### Classes ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`GeneralConfig ` - ```{autodoc2-docstring} simvx.core.config.GeneralConfig :summary: ``` * - {py:obj}`EditorSection ` - ```{autodoc2-docstring} simvx.core.config.EditorSection :summary: ``` * - {py:obj}`IDESection ` - ```{autodoc2-docstring} simvx.core.config.IDESection :summary: ``` * - {py:obj}`AppConfig ` - ```{autodoc2-docstring} simvx.core.config.AppConfig :summary: ``` ```` ### Data ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`log ` - ```{autodoc2-docstring} simvx.core.config.log :summary: ``` * - {py:obj}`CONFIG_DIR ` - ```{autodoc2-docstring} simvx.core.config.CONFIG_DIR :summary: ``` * - {py:obj}`CONFIG_FILE ` - ```{autodoc2-docstring} simvx.core.config.CONFIG_FILE :summary: ``` ```` ### API ````{py:data} log :canonical: simvx.core.config.log :value: > 'getLogger(...)' ```{autodoc2-docstring} simvx.core.config.log ``` ```` ````{py:data} CONFIG_DIR :canonical: simvx.core.config.CONFIG_DIR :value: > None ```{autodoc2-docstring} simvx.core.config.CONFIG_DIR ``` ```` ````{py:data} CONFIG_FILE :canonical: simvx.core.config.CONFIG_FILE :value: > None ```{autodoc2-docstring} simvx.core.config.CONFIG_FILE ``` ```` `````{py:class} GeneralConfig :canonical: simvx.core.config.GeneralConfig ```{autodoc2-docstring} simvx.core.config.GeneralConfig ``` ````{py:attribute} theme_preset :canonical: simvx.core.config.GeneralConfig.theme_preset :type: str :value: > 'dark' ```{autodoc2-docstring} simvx.core.config.GeneralConfig.theme_preset ``` ```` ````{py:attribute} font_size :canonical: simvx.core.config.GeneralConfig.font_size :type: float :value: > 13.0 ```{autodoc2-docstring} simvx.core.config.GeneralConfig.font_size ``` ```` ````{py:attribute} window_width :canonical: simvx.core.config.GeneralConfig.window_width :type: int :value: > 1600 ```{autodoc2-docstring} simvx.core.config.GeneralConfig.window_width ``` ```` ````{py:attribute} window_height :canonical: simvx.core.config.GeneralConfig.window_height :type: int :value: > 900 ```{autodoc2-docstring} simvx.core.config.GeneralConfig.window_height ``` ```` ````{py:attribute} recent_files :canonical: simvx.core.config.GeneralConfig.recent_files :type: list[str] :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.GeneralConfig.recent_files ``` ```` ````{py:attribute} recent_folders :canonical: simvx.core.config.GeneralConfig.recent_folders :type: list[str] :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.GeneralConfig.recent_folders ``` ```` ````{py:attribute} recent_projects :canonical: simvx.core.config.GeneralConfig.recent_projects :type: list[dict] :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.GeneralConfig.recent_projects ``` ```` ````{py:attribute} custom_shortcuts :canonical: simvx.core.config.GeneralConfig.custom_shortcuts :type: dict[str, str] :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.GeneralConfig.custom_shortcuts ``` ```` ````` `````{py:class} EditorSection :canonical: simvx.core.config.EditorSection ```{autodoc2-docstring} simvx.core.config.EditorSection ``` ````{py:attribute} dock_layout :canonical: simvx.core.config.EditorSection.dock_layout :type: dict :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.EditorSection.dock_layout ``` ```` ````{py:attribute} show_grid :canonical: simvx.core.config.EditorSection.show_grid :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.EditorSection.show_grid ``` ```` ````{py:attribute} grid_size :canonical: simvx.core.config.EditorSection.grid_size :type: float :value: > 1.0 ```{autodoc2-docstring} simvx.core.config.EditorSection.grid_size ``` ```` ````{py:attribute} grid_subdivisions :canonical: simvx.core.config.EditorSection.grid_subdivisions :type: int :value: > 4 ```{autodoc2-docstring} simvx.core.config.EditorSection.grid_subdivisions ``` ```` ````{py:attribute} snap_enabled :canonical: simvx.core.config.EditorSection.snap_enabled :type: bool :value: > False ```{autodoc2-docstring} simvx.core.config.EditorSection.snap_enabled ``` ```` ````{py:attribute} snap_size :canonical: simvx.core.config.EditorSection.snap_size :type: float :value: > 0.5 ```{autodoc2-docstring} simvx.core.config.EditorSection.snap_size ``` ```` ````{py:attribute} auto_save_interval :canonical: simvx.core.config.EditorSection.auto_save_interval :type: int :value: > 300 ```{autodoc2-docstring} simvx.core.config.EditorSection.auto_save_interval ``` ```` ````` `````{py:class} IDESection :canonical: simvx.core.config.IDESection ```{autodoc2-docstring} simvx.core.config.IDESection ``` ````{py:attribute} tab_size :canonical: simvx.core.config.IDESection.tab_size :type: int :value: > 4 ```{autodoc2-docstring} simvx.core.config.IDESection.tab_size ``` ```` ````{py:attribute} insert_spaces :canonical: simvx.core.config.IDESection.insert_spaces :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.insert_spaces ``` ```` ````{py:attribute} word_wrap :canonical: simvx.core.config.IDESection.word_wrap :type: bool :value: > False ```{autodoc2-docstring} simvx.core.config.IDESection.word_wrap ``` ```` ````{py:attribute} show_line_numbers :canonical: simvx.core.config.IDESection.show_line_numbers :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.show_line_numbers ``` ```` ````{py:attribute} show_minimap :canonical: simvx.core.config.IDESection.show_minimap :type: bool :value: > False ```{autodoc2-docstring} simvx.core.config.IDESection.show_minimap ``` ```` ````{py:attribute} show_code_folding :canonical: simvx.core.config.IDESection.show_code_folding :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.show_code_folding ``` ```` ````{py:attribute} auto_save :canonical: simvx.core.config.IDESection.auto_save :type: bool :value: > False ```{autodoc2-docstring} simvx.core.config.IDESection.auto_save ``` ```` ````{py:attribute} format_on_save :canonical: simvx.core.config.IDESection.format_on_save :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.format_on_save ``` ```` ````{py:attribute} sidebar_width :canonical: simvx.core.config.IDESection.sidebar_width :type: int :value: > 250 ```{autodoc2-docstring} simvx.core.config.IDESection.sidebar_width ``` ```` ````{py:attribute} bottom_panel_height :canonical: simvx.core.config.IDESection.bottom_panel_height :type: int :value: > 200 ```{autodoc2-docstring} simvx.core.config.IDESection.bottom_panel_height ``` ```` ````{py:attribute} sidebar_visible :canonical: simvx.core.config.IDESection.sidebar_visible :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.sidebar_visible ``` ```` ````{py:attribute} bottom_panel_visible :canonical: simvx.core.config.IDESection.bottom_panel_visible :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.bottom_panel_visible ``` ```` ````{py:attribute} lsp_enabled :canonical: simvx.core.config.IDESection.lsp_enabled :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.lsp_enabled ``` ```` ````{py:attribute} lsp_command :canonical: simvx.core.config.IDESection.lsp_command :type: str :value: > 'pylsp' ```{autodoc2-docstring} simvx.core.config.IDESection.lsp_command ``` ```` ````{py:attribute} lsp_args :canonical: simvx.core.config.IDESection.lsp_args :type: list[str] :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.IDESection.lsp_args ``` ```` ````{py:attribute} lint_enabled :canonical: simvx.core.config.IDESection.lint_enabled :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.lint_enabled ``` ```` ````{py:attribute} lint_on_save :canonical: simvx.core.config.IDESection.lint_on_save :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.lint_on_save ``` ```` ````{py:attribute} lint_command :canonical: simvx.core.config.IDESection.lint_command :type: str :value: > 'ruff check --output-format=json' ```{autodoc2-docstring} simvx.core.config.IDESection.lint_command ``` ```` ````{py:attribute} format_command :canonical: simvx.core.config.IDESection.format_command :type: str :value: > 'ruff format' ```{autodoc2-docstring} simvx.core.config.IDESection.format_command ``` ```` ````{py:attribute} python_path :canonical: simvx.core.config.IDESection.python_path :type: str :value: ```{autodoc2-docstring} simvx.core.config.IDESection.python_path ``` ```` ````{py:attribute} venv_path :canonical: simvx.core.config.IDESection.venv_path :type: str :value: ```{autodoc2-docstring} simvx.core.config.IDESection.venv_path ``` ```` ````{py:attribute} auto_detect_venv :canonical: simvx.core.config.IDESection.auto_detect_venv :type: bool :value: > True ```{autodoc2-docstring} simvx.core.config.IDESection.auto_detect_venv ``` ```` ````{py:attribute} debug_adapter :canonical: simvx.core.config.IDESection.debug_adapter :type: str :value: > 'debugpy' ```{autodoc2-docstring} simvx.core.config.IDESection.debug_adapter ``` ```` ````{py:attribute} keybindings :canonical: simvx.core.config.IDESection.keybindings :type: dict[str, str] :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.IDESection.keybindings ``` ```` ````` `````{py:class} AppConfig :canonical: simvx.core.config.AppConfig ```{autodoc2-docstring} simvx.core.config.AppConfig ``` ````{py:attribute} general :canonical: simvx.core.config.AppConfig.general :type: simvx.core.config.GeneralConfig :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.AppConfig.general ``` ```` ````{py:attribute} editor :canonical: simvx.core.config.AppConfig.editor :type: simvx.core.config.EditorSection :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.AppConfig.editor ``` ```` ````{py:attribute} ide :canonical: simvx.core.config.AppConfig.ide :type: simvx.core.config.IDESection :value: > 'field(...)' ```{autodoc2-docstring} simvx.core.config.AppConfig.ide ``` ```` ````{py:method} load() -> None :canonical: simvx.core.config.AppConfig.load ```{autodoc2-docstring} simvx.core.config.AppConfig.load ``` ```` ````{py:method} save() -> None :canonical: simvx.core.config.AppConfig.save ```{autodoc2-docstring} simvx.core.config.AppConfig.save ``` ```` ````{py:method} add_recent_file(path: str) -> None :canonical: simvx.core.config.AppConfig.add_recent_file ```{autodoc2-docstring} simvx.core.config.AppConfig.add_recent_file ``` ```` ````{py:method} add_recent_folder(path: str) -> None :canonical: simvx.core.config.AppConfig.add_recent_folder ```{autodoc2-docstring} simvx.core.config.AppConfig.add_recent_folder ``` ```` `````