Share a Link to a Fragment of Code
You can discuss a particular line or fragment of code with your teammates without initiating a formal code review. When viewing a file, you can select one or several lines of code you want to bring your teammate's attention to and share that selection with them as a link.
Navigate to the file.
Hover over the line of code you want to share and click to the left:
To select multiple lines, drag your cursor up or down:
Click the Share link button under your selection.
Select the person or channel you want to share your selection with.
Click Send link.
The selected fragment will appear as a code snippet on the recipient side along with a link to the selection.
Last modified: 30 January 2023