Read/Write API for Xojo IDE Code Editor to enable AI Integration

Hint:

Just save a project you have to xml format and then provide it to AI (the latest chatGPT4 o4 is fantastic for code).
No need to add any text. It will give you full report of the project. Including things you could improve, optimise or do differently - including code to do so.
Even suggestions to add features (and of course can provide code for this too).

Yes, it sometimes mixes API1 and 2 but this is easy to fix (even by asking it).

It’s all copy/paste/create UI controls/… now. It would be fantastic if this implemented in the IDE.
Just take a look at how it is implemented in Xcode! :smirking_face:

With Copilot on Github, I can give the AI ​​the path to a file (even a private one) in my repos and limit analyses to those files.

Let’s see who’s the first to shout, “I’m not giving my code to any AI!!!” PS: That’s your decision… :laughing:

Indeed. :joy:

FWW .. an example of a full project that was written fro about 80% with AI (including GUI layouts etc..) is a small app I made:

https://www.google.com/url?sa=t&source=web&rct=j&opi=89978449&url=https://apps.apple.com/be/app/metadata-lab-exif-editor/id6740704659%3Fmt%3D12&ved=2ahUKEwij-OX0_cWNAxUtVKQEHeYLHyYQFnoECCEQAQ&usg=AOvVaw2UjBz1x6_AGvu7_LnITXX9

BTW for this app I asked AI to use MBSPlugins too (almost all controls are macOS Native including NSTableView). Made this is in 3-4 days. :slight_smile:

2 Likes

Well, it wouldn’t be the first time I was wrong about something.

Nevertheless, I’ll hang onto my critical thinking skills for as long as I’m capable and hope that if Xojo Inc. does incorporate direct AI features into the IDE - that it has an “off” switch. Otherwise, it’s adiós mis amigos.

Good luck :slightly_smiling_face:

1 Like

ah yes i was thinking about too, i’ll host an MCP server too soon
MPCs are the new APIs ?