ESATAN-TMS — VS Code Language Support

Language support for ESATAN-TMS in Visual Studio Code. Designed for thermal engineers working with ESATAN-TMS models, radiative cases, and analysis decks.
Features
Syntax Highlighting
| Language |
Extensions |
Description |
| ESATAN |
.d .tpl .esa .data .mat + block files |
Thermal model decks, templates, materials |
| ESATAN GMM |
.gmm .tho .ci |
Geometry models, thermo-optical, contacts |
| ESATAN Script |
.erg .erk .ere |
Geometry, radiative, and analysis scripts |
| ESATAN Output |
.out |
Solver output (read-only) |
Block files: .NODES, .CONDUCTORS, .CONSTANTS, .EXECUTION, .VARIABLES1, .VARIABLES2, .OUTPUTS, .ARRAYS, .LOCALS, .SUBROUTINES, .INITIAL, .EVENTS, .BOUNDARIES
Document Outline (Ctrl+Shift+O)
Navigate your model structure: $MODEL, $NODES, SUBROUTINE, GEOMETRY, OPTICAL, RADIATIVE_CASE, DEFINE_*, and more.
File Icons
25+ color-coded SVG icons for every ESATAN file type. Activate: Ctrl+Shift+P > File Icon Theme > ESATAN-TMS File Icons
Clickable File Links
Ctrl+Click on $INCLUDE paths, FILE='...', working_directory, template_file, and any quoted file path to open the referenced file.
Line-Length Diagnostics
Warns when ESATAN fixed-form lines exceed column 72 (Fortran truncation risk). Skips comments and $INCLUDE lines.
Code Snippets
39 ESATAN + 18 GMM + 11 Script snippets. Type prefix and press Tab:
$MODEL, $NODES, GL, GR, solvfm, deck, rect, cyl, defopt, defrcase, defacase, ...
Editor Defaults
| Language |
Tab |
Ruler |
Notes |
| ESATAN |
6 sp |
72 |
Fixed-form |
| GMM |
4 sp |
— |
Free-form |
| Script |
4 sp |
— |
Free-form |
| Output |
— |
105 |
Read-only |
Installation
- Run
install.bat (creates symlink to VS Code/Cursor extensions)
- Restart editor
Ctrl+Shift+P > File Icon Theme > ESATAN-TMS File Icons
Or copy to %USERPROFILE%\.vscode\extensions\pmi-thermal.esatan-tms-3.1.0\.
Development
F5 in this folder to launch Extension Development Host
node generate-icons.js to regenerate SVG icons
- Grammars in
syntaxes/, snippets in snippets/
See CHANGELOG.md for release notes.
License: MIT