I clicked through the video a little and will watch it soon. What’s the tldr;?
We have a couple of people using Cursor (not with Delphi projects), and basically a directive for all dev teams to experiment with AI coding assistants, so we have a few being tested at the moment. I have experimented using VS Code with the Codeium plugin and a few Delphi related plugins, and with the Delphi IDE open at the same time (disable “ask to reload modified files”) and it is workable but not ideal.
The Codeium team has released the Windsurf editor - basically an AI focused editor and competitor to Cursor. Discussion/feedback from users over the past month or two is that it is very good, on par or better than Cursor, however as it is fairly new it has a few quirks/bugs that they are ironing out.
Installing Cursor is supposed to be a breeze … it imports all the settings you already have in VS Code if you want.
I chose to start from scratch, and just add the Delphi LSP.
There’s a setup checkbox asking if you want it to look into a whole codebase, or just a file. Whole is the default and I left it in place. I thought it would see into the working directory … but it seems you have to open the files into the editor for it to access them.
I had already had a bit of a fight with the code over a couple days to get it compiling and resize the form size, so I knew some of the answers I expected … and I asked a couple I didn’t know the answer to.
I thought the result was pretty good, compare to the many greppings through the directory that I had been doing to help figure out a number of issues with the code.