Modifying your Code with Pieces Copilot
Modify your code to change error handling, rename functions, and add functionality in two ways.
via Right-Click Menu
Right-click on the highlighted code you want to modify, hover over Pieces
, and click Modify Selection with Copilot
.
After clicking Modify Selection with Copilot
, Pieces Copilot will open the Copilot chat window in the JetBrains sidebar, showing the proposed changes.
Review the modifications and choose whether to accept them. If you do, the updates will automatically integrate into your codebase at the point where the code was selected, right at your cursor.