# Shipping code to your IDE with ChatGPT

## Метаданные

- **Канал:** OpenAI
- **YouTube:** https://www.youtube.com/watch?v=_WvtdRtG1aY
- **Дата:** 08.04.2025
- **Длительность:** 2:20
- **Просмотры:** 37,535
- **Источник:** https://ekstraktznaniy.ru/video/11318

## Описание

See how OpenAI’s ChatGPT can now integrate directly with apps like IDEs to help engineers write, debug, and refactor code in real time. In this demo, we fix a checkout error and ship the fix directly to our IDE.—no copy/paste needed.

Ideal for developers and technical teams looking to enhance their daily tools with AI-powered code generation and QA inside ChatGPT.

🔗 Learn more: 
OpenAI for Business: https://openai.com/business
Or, try it out in product: https://chatgpt.com/#team-pricing

## Транскрипт

### Segment 1 (00:00 - 02:00) []

You can open Chat GPT with the option plus spacebar. When you click the work with apps button, you'll see a list of available apps that chatbt can connect with. To enable this, you'll need to grant permissions either in your system settings or directly within the app, depending on which app you want to enable. Once it's set up, chatgbtt still won't have access to any app until you explicitly select it. Once it's connected, it can pull context from within the app, not just what's visible on the screen. For example, as a developer, I might share the code on my IDE. Let's take a look at how this might work. As a developer, I'm working on a checkup page for my new bookstore. However, when I put in my payment information, I hit an error. The error shows that I have an issue with my integration with my payment provider and it looks like I'm missing a parameter. I'll open up chatbt via the option plus spacebar shortcut and ask it for help fixing the error. I also know that this error is specifically coming from my checkout page. So I'll click the work with apps button which shares the entire code from my forprint file in my IDE with chatgpt. In addition, I'll swap out my model to use 03 minihigh. It's a little bit slower, but works really well with coding use cases. You can see chatbt go to work. Starting off with a chain of thought, you have full visibility into the steps the model is taking to come up with a solution. And here you can see the progress and even have chat GPT automatically edit your file within your IDE if you'd like. For this example, let's review the file together first. It looks like I use camel case instead of snake case, which the payment provider requires. So let's go ahead and push the changes. And just like that, you can see the changes reflected in my IDE with the return URL being updated to snake case. Let's save the code and give that another try. Great, problem solved. So previously I would have had to copy and paste my error, perhaps look up the API docs, but now I can sh my code directly with Chad GB key and ask it to update it as well.
