Create code suggestion from current line

A Reviewable post written by Jacob Milhorn.By: Jacob Milhorn
Published: Thursday, August 25, 2022

Single and multiline code suggestions can now be created from within a comment draft. No more manual copy/pasting!

Select multiple lines:

image

Or double-click the button to insert the current line only:

image

Bonus: We also added a command palette for taking actions when you make a manual selection. You can quote the selection to start a suggestion or copy the selection to the clipboard.

image