code_aster studies, written in VS Code
VS Code Aster turns Visual Studio Code into a code_aster workbench: smart editing of command files, a form for export files, a 3D mesh viewer and one-click runs, with errors reported where you can fix them.

Everything a code_aster study needs, in one editor
A language server for .comm files
Completion of commands, keywords and values, hover documentation, signature help, live diagnostics with quick fixes and formatting, all read from the code_aster catalog.
Read moreA form for .export files
Create and edit .export files in a form that checks units, file types and directions as you type, and keeps every line it has no field for.
Read moreRun and read the errors
One click runs the study. Alarms, errors and tracebacks land in the Problems panel, on the .comm line that caused them.
Read moreA 3D mesh viewer
Open any .med file and explore its volume, face, edge and node groups. Highlight a group from its name in the .comm.
Read moreGenerate a study
Pick a mesh and a scenario (static, nonlinear, modal) and get a runnable .comm and .export, with the real group names of your mesh.
Read moreValidate before you run
Catch undefined concepts, unused results and units missing from the .export before code_aster does, with a readable report.
Read moreSee your mesh without leaving the editor

Click a .med file in the explorer and it opens in an interactive viewer built on VTK.js. No separate pre-processor to start just to check a group name.
- Every named group of the .med file, searchable, bucketed by kind
- Select a group name in the .comm to highlight it in 3D
- Bounding box, wireframe and turntable modes
- Screenshots and video recordings of the view
- Meshes with millions of nodes load progressively
From mesh to results in four steps
- Step 1
Start
Generate a study from your mesh, or open an existing .comm and .export.
- Step 2
Write
Complete commands from the catalog, check groups in the viewer, fix what the diagnostics flag.
- Step 3
Validate
Check concepts and file units across the .comm and the .export in one command.
- Step 4
Run
Launch code_aster from the editor and jump from each error to its line.
Works with the code_aster you already have
With cave
cave runs code_aster from Docker images. Switch versions from the status bar: completions and checks follow the catalog of the version you run.
With your own install
A Linux build, the Windows installer or a cluster module: run Locate code_aster install, pick the folder, and the run command and catalog are set for you.
Neither yet? Editing still works with the bundled code_aster 16.7 catalog.
Install VS Code Aster
From the Marketplace
Install it from the Marketplace, then open a .comm or .export file. The language features work with any Python 3.10 or later, found by the extension, with nothing to install.
Or from a terminal:
code --install-extension simvia.vs-code-aster
From a .vsix file
Download vs-code-aster-1.15.1.vsix from the releases page, then run Extensions: Install from VSIX... from the Command Palette.
Needs a Python 3.10 or later for the language features; the mesh viewer needs none. See the installation guide.
Frequently asked questions
What is VS Code Aster?
A free, open-source Visual Studio Code extension for code_aster, the finite element solver developed by EDF. It adds a language server for .comm command files, a form editor for .export files, a 3D viewer for .med meshes, and runs studies from the editor with errors shown in the Problems panel.
Do I need code_aster installed to use it?
No. Editing works out of the box: the extension ships a code_aster 16.7 command catalog. To run studies, use cave (code_aster in Docker, with version switching) or point the extension to an existing code_aster install.
Does it work with my code_aster version?
Yes. With cave, completions and checks are read from the catalog of the version you selected. With a native install, run Locate code_aster install and the catalog of that install is used.
Does it work on Windows?
Yes, natively with the code_aster Windows installer, or through WSL. Remote sessions (SSH, WSL, containers) are supported: the language server runs where your files are.
What do I need installed?
A Python 3.10 or later, any version including 3.14: the language server's libraries ship with the extension, so there is nothing to pip install, and the extension finds your Python by itself. The mesh viewer and the study generator need no Python at all.
Is it free?
Yes. VS Code Aster is released under the GPL-3.0 license and developed by Simvia. Bug reports and contributions are welcome on GitHub.