Filtering code issues - Amazon Q Developer

Filtering code issues

Note

You can only filter code issues in JetBrains IDEs and Visual Studio Code.

When you filter code issues, only issues that meet the selected criteria are shown in the Code Issues panel. You can filter the issues based on their severity.

You can also control how code issues are organized in the Code Issues panel. You can group issues based on severity or based on their file location.

To filter code issues:
  1. From the Code Issues panel, choose the filter icon.

    The following image shows the filter icon in the Code Issues tab in Visual Studio Code.

    The filter icon in the Code Issues tab in Visual Studio Code.
  2. The Filter Issues menu opens.

    Select or deselect the boxes next to the severity types you want to filter for, and then choose OK. Only the issues you select will appear in the Code Issues panel.

To group code issues:
  1. From the Code Issues panel, choose the grouping icon.

    The following image shows the grouping icon in the Code Issues tab in Visual Studio Code.

    The grouping icon in the Code Issues tab in Visual Studio Code.
  2. The Group Issues menu opens.

  3. Choose Severity to group issues in the Code Issues panel based on their severity. Choose Location to group issues based on which code file they are located in.