The Rename Identifier editor expert has received several improvements that make it smarter and safer. Here's an overview. Identifier info display The rename dialog now shows detailed information about the identifier under the cursor: Kind: variable, constant, type, parameter, field, property, method, or external identifier Type: the declared type (e.g. Integer, TStringList, array of string), … Continue reading GExperts: Rename Identifier – recent improvements
Category: Delphi
dzDebugVisualizer now supports all Delphi versions from 2005 to 13
The dzDebugVisualizer plugin previously only had packages for Delphi 2005, 2006, 2007, 2009, 10.2, 12, and 13. I have now added packages for the 14 missing versions: Delphi 2010, XE, XE2, XE3, XE4, XE5, XE6, XE7, XE8, 10.0 Seattle, 10.1 Berlin, 10.3 Rio, 10.4 Sydney, and 11 Alexandria. All versions from Delphi 2010 onwards use … Continue reading dzDebugVisualizer now supports all Delphi versions from 2005 to 13
GExperts: New Rename Identifier Editor Expert
GExperts now has a new editor expert for renaming identifiers within a single unit. It's accessible via Shift+F2. Yes that's the same shortcut as the Rename Components, which only works in the form designer - Rename Identifier only works in the code editor, so there should be no conflict (But unfortunately there is, I'm working … Continue reading GExperts: New Rename Identifier Editor Expert
Inspecting the internals of GExperts while it is running in the IDE
ai&dr - if you don't care. One of the annoying things when using Claude Code for GExperts is that it cannot test the UI of GExperts itself. That means I have to open the IDE, call the dialogs, check for problems, maybe make screenshots for Claude Code to inspect. I can't just let it work … Continue reading Inspecting the internals of GExperts while it is running in the IDE
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
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: Sharing Identifier Casing across Experts
The GExperts Uses Clause Manager (UCM) has always parsed the identifiers exported by all units in the search path. It uses this information for its own purposes, like showing you which unit to add to your uses clause when you type an unknown identifier. But that parsed data just sat there, unused by any other … Continue reading GExperts: Sharing Identifier Casing across Experts
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)