Syntax highlighting for *.kdm files — the KDM power grid data format used by the PLANS program (modified IEEE-118 network format).
Features
Highlighting activates automatically on any .kdm file. It understands the file's section structure and colors each column by its role:
- Section keywords — base sections (
WEZLY,GALEZIE,KONIEC, …) and additional sections (*Gen.,*Odbiór,*Lin_In,*Transf., …) - Row identifiers — the first token of each data row (node name, branch id, generator/load name) is emphasized so your eye anchors on it
- Node references — from/to node columns are colored differently from the row's own identifier
- Numbers — floats and integers are distinguished
- Markers —
/nameheaders,//Alfa=tap tables,$balancing subsections,+/-element status, and,,(zero / unchanged value)
Snippets are included for common sections — type sec-gen, sec-load, sec-line, sec-transf, sec-area, node, or branch and press Tab.