JetBrains Space Help

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.

  1. Navigate to the file.

  2. Hover over the line of code you want to share and click share-line.png to the left:

  3. To select multiple lines, drag your cursor up or down:

  4. Click the Share link button under your selection.

  5. Select the person or channel you want to share your selection with.

  6. 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