Using code blocks from within Chat

Whenever Chat responds with code, you will have the option to add the code to your codebase. The most common option will be shown as a button and you can access the other options by clicking the overflow menu icon

at the top-right of the code block. You can use the following options to apply the code:

  • Copy the code from the block to your clipboard
  • Create a new file with the code from the block
  • Apply the code from the block intelligently to your file