Free on the VS Code Marketplace · v1.15.1

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.

Editing a code_aster study in VS Code with VS Code Aster

Everything a code_aster study needs, in one editor

See your mesh without leaving the editor

The VS Code Aster mesh viewer showing the groups of a .med mesh

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
Mesh viewer guide

From mesh to results in four steps

  1. Step 1

    Start

    Generate a study from your mesh, or open an existing .comm and .export.

  2. Step 2

    Write

    Complete commands from the catalog, check groups in the viewer, fix what the diagnostics flag.

  3. Step 3

    Validate

    Check concepts and file units across the .comm and the .export in one command.

  4. 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

Docker

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.

Native

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

Recommended

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.

Install from the Marketplace

Or from a terminal:

code --install-extension simvia.vs-code-aster
Offline

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.

Releases on GitHub

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.