Delphi Class Constructors and the Smart Linker: A Silent Trap

AI;DR - for those who can't be bothered. Note to self (so I can find it again if I need it): I just spent an embarrassing amount of time debugging a problem that compiled without errors, produced no warnings, and simply didn't work at runtime. The culprit? Delphi's smart linker silently optimizing away code that … Continue reading Delphi Class Constructors and the Smart Linker: A Silent Trap

Fixing GExperts Code Formatter Bugs with Claude Code

Over the past few weeks I have been using Claude Code, Anthropic's AI coding assistant, to fix long-standing bugs in the GExperts Code Formatter. The results have been impressive - bugs that had been open for years were fixed in a matter of hours, including some that I had hesitated to tackle because of the … Continue reading Fixing GExperts Code Formatter Bugs with Claude Code

GExperts Reverse Statement Expert: Now with Configurable Regex Rules

The Reverse Statement expert in GExperts has received a major upgrade. Previously, it could reverse simple assignments and swap a small set of hardcoded function pairs. Now it uses configurable regex-based rules that you can customize to match your own coding patterns. What Does Reverse Statement Do? When you press Alt+Shift+R in the Delphi IDE, … Continue reading GExperts Reverse Statement Expert: Now with Configurable Regex Rules

Claude Code Session/memory loss after WSL restart

Note to self: Claude Code stores per-project auto-memory and session data under ~/.claude/projects/ using a path derived from the absolute working directory (e.g., -mnt-source-ProjectName). When WSL restarts, Windows drive mount points can change (e.g., /mnt/source becomes /mnt/d/source/), causing the project path to no longer match. This makes previous sessions unresumable and auto-memory invisible. If this … Continue reading Claude Code Session/memory loss after WSL restart

GExperts Code Formatter: Align Assignment Operators

The GExperts Code Formatter can already var blocks, const blocks and single line comments at a configurable column position. The latest addition brings the same capability to assignment operators (:=) in regular code as suggested in this feature request (Yes, I do read those.) How It Works When enabled, the formatter pads the space before … Continue reading GExperts Code Formatter: Align Assignment Operators

GExperts: The Dialog That Ate My Screen (and How I Finally Fixed It)

If you've been using GExperts' "Edit Unit Search Path" dialog on a multi-monitor setup with mixed DPI scaling, you may have noticed something odd: The dialog gets a little bigger every time you open it. Not dramatically - just enough to be annoying. Open it ten times and it's noticeably larger. Open it twenty times … Continue reading GExperts: The Dialog That Ate My Screen (and How I Finally Fixed It)