Reference
Commands and files
Commands
All commands are in the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
| Command | Where else | Page |
|---|---|---|
| Edit export file | Pencil icon on .export files, sidebar | Editing .export files |
| Run with code_aster | Rocket icon on .export files, sidebar | Running studies |
| Open visualizer | Eye icon on .comm files, sidebar | Mesh viewer |
| Generate study from scenario (beta) | Sidebar | Generating a study |
| Validate Current Study | Icon on .comm and .export files, sidebar | Study validation |
| Restart the LSP server for code_aster | Sidebar | Troubleshooting |
| Show code_aster catalog info | Sidebar | code_aster versions |
| Select code_aster version (cave) | Status bar chip, sidebar | code_aster versions |
| Run code_aster setup checks | Sidebar Setup group | Installation |
| Locate code_aster install (native, without cave) | Sidebar Setup group | Installation |
| Search code_aster commands | Sidebar title bar | Sidebar |
| Focus code_aster command browser | Status bar family icon | Sidebar |
| Refresh code_aster panel | Sidebar title bar | Sidebar |
| Open as MED mesh | Editor title bar and explorer context menu | Mesh viewer |
Keyboard shortcuts
| Keys | Where | Action |
|---|---|---|
Ctrl+/ (Cmd+/) | .comm, .export | Toggle # line comment |
Ctrl+Shift+; | .comm | Toggle # line comment |
| Format Document / Format Selection | .comm, .export | Format with ruff, or the export formatter |
| ↑ / ↓ | Number fields of the export form | Step the value |
| ↑ / ↓, Enter, Tab, Esc | File name suggestions of the export form | Move, pick, close |
| Enter | Validation report findings | Jump to the line |
Mouse controls of the mesh viewer are listed in Mesh viewer.
Languages
| Language | Files |
|---|---|
| code_aster (comm) | .comm, .com, .com0 to .com9 |
| code_aster (export) | .export |
| MED | .med, .mmed, .rmed and the extensions of vs-code-aster.medFileExtensions |
Files on disk
In your projects, the extension writes in hidden .vs-code-aster/ folders:
| Path | Content |
|---|---|
<folder of the .export>/.vs-code-aster/run_logs/ | One log per run |
<folder of the MED file>/.vs-code-aster/mesh_cache/ | Meshes converted for the viewer |
<folder of the MED or .comm>/.vs-code-aster/screenshots/ | Viewer screenshots |
<folder of the MED or .comm>/.vs-code-aster/recordings/ | Viewer videos |
<folder of the mesh>/<study name>/ | Studies made by the study generator |
Outside your projects:
| Path | Content |
|---|---|
~/.cache/vs-code-aster/catalogs/<version>/ | Catalogs extracted from cave images |
VS Code's storage folder for the extension, .venv/ | Private Python environment created by earlier versions (still used when present), or when the setup installs ruff |
The extension reads ~/.cave to know the selected code_aster version. Older layouts (.visu_data/, .vscode-aster-run.log) are moved to .vs-code-aster/ automatically.
Output channels and terminals
- Output channels: code_aster: Language Server, code_aster: Catalog, code_aster: Formatter.
- Terminals: code-aster runner (runs), cave install (cave installation from the setup).
Last modified on