ChatGPT for Mac can now connect with programming apps


A very interesting feature is debuting in the app ChatGPT for Mac: connection with third-party software. More specifically, with programming applications such as Xcode and Visual Studio Code. The feature is now available as an early beta for ChatGPT Plus and Team subscribers, while in the coming weeks it will expand to Enterprise and Edu plans.

Specifically, this ChatGPT tool for Mac is called Work with Appsor work with apps. If any of the supported editors or development environments are enabled, the OpenAI chatbot will be able to read their contentpreventing users from having to copy and paste your code into the conversation to make a query.

According to they explain those of Sam Altman, when working with VS Code, Xcode or TextEdit, ChatGPT will be able to access all the content of the editor panels that are open until a truncation limit is reached. In the event that users have selected a fragment of the code, the OpenAI app will focus on that segment to provide a response; however, it will use the entire contents of the panel as context.

When it comes to its integration with macOS Terminal or iTerm2, ChatGPT for Mac will analyze the last 200 lines of open panels. If only a piece of text has been selected in an open panel, the program will see that and some of the surrounding content up to the truncation limit.

How ChatGPT for Mac integration with programming apps works

ChatGPT for Mac

Those who have the ChatGPT app installed on their Mac will see a new icon appear in the chat bar next to the ChatGPT Search one. By tapping on it, a panel will be displayed with the 5 apps that are currently compatible, and you can enable the ones you want. Those who use Visual Studio Code will have to install an extension, while the rest take advantage of macOS Accessibility API to function.

When you make a query linked to content in XCode, iTerm2, TextEdit, VS Code, or the Terminal, ChatGPT for Mac will analyze the information and provide a response. Please note, however, that OpenAI software cannot yet send the response directly to the editors or development environments in question. So if you ask it to fix a bug in your code, then you will have to copy the response and paste it into your favorite app.

Leave a Reply

Your email address will not be published. Required fields are marked *