OpenFOAM Dictionary HighlightMinimal syntax highlighter for OpenFOAM dictionary files in VS Code. Available on Visual Studio Marketplace and installable locally (see instructions below). Supported filesThe extension auto-detects several filenames with no manual file association; common files such as It is a design choice to use exact filename matching to identify OpenFOAM dictionary files, as opposed to relying on file extensions or more complex heuristics. Also, the file list is not exhaustive and can be extended by users as needed, as their field of expertise may require highlighting of additional dictionary files than the ones provided by default. You can add your own dictionary file names via extension settings (in
Example:
After changing this setting, the extension reapplies language detection to currently open files. If an open file no longer matches the built-in or configured names, it is reset to plaintext. Alternative fallback (if you prefer native VS Code association behavior) is to use
Install locallyOption 1: Install unpacked extension folder
Option 2: Package as VSIX and install
|