Overview Version History Q & A Rating & Review
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
Fields input data
thermophysicalProperties
1thermophysicalProperties
blockMeshDict
fvSolution
Known Issues/Future work
Automate indent
Show Hovers
Licence
GPL 3.0