u/omonien

Image 1 — Code4Delphi - Syntax Highlighting AND Form Visualizer in VS Code
Image 2 — Code4Delphi - Syntax Highlighting AND Form Visualizer in VS Code
▲ 13 r/delphi

Code4Delphi - Syntax Highlighting AND Form Visualizer in VS Code

I just updated my Code4Delphi VSCode extension to version 2.0, which adds a form (dfm/fmx) viualizer. Note: the goal is NOT to render the actual components, but just a box model, so that you can open any dfm file from within VSCode to see (and even edit) it's layout. Including component tree and zoom.

Feedback welcome!

https://marketplace.visualstudio.com/items?itemName=DeveloperExperts.code4delphi

u/omonien — 10 days ago
▲ 28 r/delphi

Code4Delphi - VS Code extension for Delphi

There are already some solid Delphi highlighters out there - but they often come with a whole extra stack (LSP, project tooling, analyzers, …). That’s great if you want a full IDE-in-the-editor experience. For me it was often more than I needed.

Especially when working with code agents: you usually just open a unit, glance at a method, jump around a bit, and move on. You don’t need a language server for that — you need clean highlighting and navigation that feels familiar.

So Code4Delphi stays deliberately light:

• Syntax highlighting tuned for modern Delphi (incl. 13.1)

• Colors matching the Delphi 13 light editor (as close as I could get). Dark scheme is there too, but I haven’t stress-tested that one as carefully.

• Keybindings like in the Delphi IDE: Ctrl+Shift+Up/Down for interface implementation, Alt+Up/Down for next/previous method, overload-aware

No LSP, no build integration, no telemetry — just open a .pas and go.

Free on the Marketplace:

https://marketplace.visualstudio.com/items?itemName=DeveloperExperts.code4delphi

Feedback welcome — especially if something looks off next to real Delphi 13.

u/omonien — 14 days ago