VSCode for MOOSE
This extension provides language support and IntelliSense for input files of MOOSE (Multiphysics Object Oriented Simulation Environment) applications.
Note: A major API change occurred in v0.7.0
Auto Completion Demo
Loading MOOSE Syntax Data
MOOSE object and hierarchy data is read primarily from the YAML file you can create from your MOOSE application:
Additional data (descriptions and source file paths) will also be read, if available, from the JSON output:
These can also be created within VS Code via selecting '
By default, these files are expected to be in the top-level of the workspace, but their paths can be altered in the Settings.
Auto-Completion and Definition/Reference Identification
Autocompletion is triggered either by
Note that if there is an inline comment at a variable description,
Defining Material Property Names
Material property names are defined in the Material C++ object files, using the
VSCode for MOOSE attempts to find material property name definitions (or defaults) for common materials, including:
Loading More data ...