JetBrains Space Help

Create an Issue from a Fragment of Code

If you spot a problem while browsing code, you can create an issue right from the questionable line or fragment of code — no need to switch to the Issue tracker. Resulting issue will contain a link to easily trace it back to the original code fragment.

  1. Navigate to the file.

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

    createIssueFromCode.png
  3. To select multiple lines, drag your cursor up or down or click the arrows:

    createIssueFromMultipleLines.png
  4. Click the Create issue button under your selection.

    A New issue dialog will be displayed:

    issueFromCodeDialog.png

    The issue summary is derived from the file containing your code selection.

    A link to your code selection is added to the issue description field.

  5. You can edit the issue summary and specify other parameters, such as Assignee, Due date, etc.

  6. When you're done, click Create.

Last modified: 10 August 2023