- ChatGPT can now automatically insert code directly into Xcode
- This means you no longer need to copy and paste code back and forth.
- It can save developers a significant amount of time in the long run.
One of the main uses of ChatGPT is to help with coding and programming, and it is one of the best AI tools for this purpose. Now, the latest version can generate code and add it directly to Apple’s XCode development app on MacOS without any long steps. This can help make the whole process run smoother than before.
in After on xChatGPT developer Openai explained that the latest ChatGPT update features a new “Apply” button that automatically inserts the generated code into the correct location in your project. There’s also a toggle for “Auto Apply Code,” which simplifies the workflow even further.
I’ve been able to spin up code in ChatGpt for a while now, which has helped make it more capable than the best text editors for your coding needs. However, before, ChatGPT required you to copy and paste the output it generated into Xcode yourself. Now, the two apps are tightly integrated.
You may like
-
ChatGPT's Mac App Gets a Glow With New Encoding and Note-taking Features
-
These Are the Smart Assistant Developers Already Using It – and How They're Using Them
ChatGPT can detect which code editing app you’re using, whether it’s XCode, Code, or something else. This allows the code it generates to be automatically inserted into the right place.
Coming to Windows Soon
ChatGPT developer Openai says these changes will be coming to all ChatGpt desktop users on Mac, including those on the app’s free plan. It also appears these capabilities will come to additional apps and IDEs in the future, though Openai didn’t elaborate on which ones.
Windows users don't need to miss out, as Alexander Embiricos is an Openai employee. Emphasize x That this functionality will come to Microsoft's operating system "soon."
The update brings ChatGpt in line with Github Copilot and Xcode’s Swift Assist Tool, which are already integrated into the app. Swift Assist runs on Apple’s own cloud servers, and the company says your code is not stored or used for training. That could make it a safer option than ChatGPT if you’re worried about your code being swiped by a third-party AI tool.
With Apple's Worldwide Developers Conference (WWDC is set to open its doors in June, so we could see more updates to the quick helper around that time, and it’s a good bet that ChatGpt and Github Copilot will receive a lot of new features in the meantime. That means if you’re looking for an AI coding assistant, you have a lot of options.