Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>OpenFOAMNew to Visual Studio Code? Get it now.
OpenFOAM

OpenFOAM

Zhikui Guo

|
18,033 installs
| (2) | Free
OpenFOAM dict file support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenFOAM Language for VS-Code

How to start

Add configuration to your vscode settings.json, which can be accessed through e.g. Code->Preferences->Settings on mac, to enable OpenFOAM dict file support.

"files.associations": {
    "*Dict": "OpenFOAM",
    "*Properties": "OpenFOAM",
    "fvSchemes": "OpenFOAM",
    "fvSolution": "OpenFOAM",
    "**/constant/g": "OpenFOAM",
    "**/0/*": "OpenFOAM"
    }

Features

  • Color syntaxing for OpenFOAM dictionary files (*Dict) and other data input files, e.g. 0/T, const/g.

Example

  1. Fields input data

Color syntaxing for fields data file

  1. thermophysicalProperties

1thermophysicalProperties

  1. blockMeshDict

blockMeshDict

  1. fvSolution

fvSolution

Known Issues/Future work

  • Automate indent

  • Show Hovers

Licence

GPL 3.0

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft