Use code from chat

Apply code snippets from the AI Assistant chat window to your project.

Apply the code suggested by JetBrains AI Assistant in the chat to your project, by clicking one of the icons at the top right of the code snippet:

  • Copy to Clipboard
  • Insert at Caret
  • Create File from Snippet

Or select only the code you want from the snippet and insert that in the desired location.


Related Resources

7 Things You Didn’t Know about AI Assistant Chat
7 Things You Didn’t Know about AI Assistant Chat
Discover 7 things you might not know about using JetBrains AI Assistant Chat.
7 Ways AI Assistant Can Help You with Version Control
7 Ways AI Assistant Can Help You with Version Control
Let's look at ways that JetBrains AI Assistant can help you work with version control.
The Problem of Understanding Code is Solved: AI Assistant to the Rescue
The Problem of Understanding Code is Solved: AI Assistant to the Rescue
Let's look at using JetBrains AI Assistant to help you understand existing code.