# The code_aster sidebar

Click the **code_aster** icon in the activity bar to open the sidebar. Its title bar has two buttons: **Search code_aster commands** and **Refresh code_aster panel**. The panel refreshes by itself when a setting changes, when `~/.cave` changes, when the language server is ready, when you switch editors and as you edit a `.comm`.

The groups, from top to bottom:

## Setup

Titled **Setup (n/5)** with the number of checks passed. It sits at the top while something is missing and moves near the bottom once everything passes.

| Row | What it checks |
| --- | --- |
| Python | a Python 3.10 or later for the language server, with its path and version |
| ruff (formatter) | `ruff` for `.comm` formatting (optional, never counted as a failure) |
| Docker | Docker is installed and running |
| cave | cave is on the `PATH` |
| code_aster version | a code_aster version or catalog is available |

Each row shows its status and acts on click: it opens the `pythonExecutablePath` setting, runs **Run code_aster setup checks**, opens the version picker, or runs **Locate code_aster install (native, without cave)**, depending on the row and what is missing. With a native run alias, the Docker, cave and image rows show "not needed". See [Installation](/installation#3-guided-setup).

## Quick actions

Always shown. The items depend on the active editor:

| Item | When |
| --- | --- |
| Generate study from scenario (beta)… | Always ([study generator](/study-generator)) |
| Edit export file / New export file… | Edit when a `.export` is active, New otherwise ([export form](/export-files)) |
| Validate current study | A `.comm` or `.export` is active ([validation](/validation)) |
| Run with code_aster | A `.export` is active ([running](/running)) |
| Open mesh viewer | A `.comm` or a MED file is active ([mesh viewer](/mesh-viewer)) |
| Restart language server | Always |
| Show catalog info | Always ([catalogs](/versions#which-catalog-is-used)) |

## Command browser

Shown while a `.comm` editor is active. It lists the catalog commands in five families: **Mesh**, **Material**, **Boundary Conditions & Loads**, **Analysis** and **Output**. Each family shows how many of its commands the file uses ("N in file · M total"). The commands of the file come first, with a check mark, then the rest of the catalog.

Click a command to open the code_aster documentation search for it. **Search code_aster commands** in the title bar opens a quick pick over every command of the catalog. The status bar's command family icon also opens this group.

## Versions

Collapsed by default. Lists the code_aster versions installed with cave, the current one marked "(current)". Click a version to switch to it, or **Install another version…** to add one. When cave cannot be used, the group says why: "cave not used" (native run alias), "cave is not installed" or "No code_aster image installed". See [code_aster versions](/versions).

## Settings

Collapsed by default. Shows the current value of the most used settings, with their scope (user, workspace or default) in the tooltip:

- Python interpreter (`pythonExecutablePath`)
- Formatter (`formatter`)
- Run alias (`aliasForRun`)
- Catalog path (override) (`asterCatalogPath`)
- Supported .comm extensions (`commFileExtensions`)
- Supported MED extensions (`medFileExtensions`)
- Max run logs (`maxRunLogs`)

Click one to open it in the Settings editor. See [Configuration](/configuration).

## External

Links: Star on GitHub, Rate on VS Code Marketplace, Browse code_aster website, Browse code_aster documentation, Browse code_aster examples (astest) and Visit simvia.tech.
