VS Code Extensions
K

KDM Syntax

by klus3kk

Syntax highlighting for KDM power grid data files (PLANS format, modified IEEE-118).

Downloads

1

Rating

(0)

Version

0.1.0

Last updated

Jul 08, 2026

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/name headers, //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.

Related extensions