Code Faster in Delphi Book

This book will make you a faster Delphi developer, it doesn't matter if you are just starting out, or have been using Delphi since version 1, you will find all sorts of tips, tricks and hacks to boost your productivity.

previous arrow
next arrow

Claude Writes an IDE Plug-In - #266

Ever accidentally hit the Insert key in the Delphi IDE and started overwriting your code? In this video, I use Claude AI to live-code a Delphi IDE plugin using the Open Tools API (OTA) that intercepts the Insert key and replace it with the context menu instead. Watch as we work through compile errors, fix a crash-on-uninstall bug, and iterate on different approaches to remapping the key — all driven by AI pair programming in a browser. Watch Here

Topics covered:

  • IOTAKeyboardBinding and the OTA keyboard services
  • Registering and cleanly unregistering design-time packages
  • Debugging an access violation on package unload
  • Using WM_CONTEXTMENU as a key remap target

I had Claude write this description, although we never fixed the "exception after uninstall" bug. Still it's quite a fun watch. I think I'll vacuum my keyboard next time before making a thumbnail.