Filtering code issues
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 so you only see
issues with the selected severity in the panel.
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:
- JetBrains IDEs
-
-
From the Amazon Q Code Issues tab, choose the filter icon.
-
A pop-up menu with Severity levels opens.
The following image shows the Severity menu in the Code Issues tab in IntelliJ IDEA.
-
Select or deselect the the severity levels you want to filter for,
and then choose OK. Only the issues with the severity you selected
will appear in the Amazon Q Code Issues panel.
- Visual Studio Code
-
-
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 Issues menu opens.
Select or deselect the boxes next to the severity levels you want to filter
for, and then choose OK. Only the issues with the severity you selected will appear in the Code
Issues panel.
To group code issues:
- JetBrains IDEs
-
-
From the Amazon Q Code Issues panel, choose the grouping icon.
-
A Group By pop-up menu opens.
-
Select Severity to group issues in the Code Issues panel based on their
severity. Select Location to group issues based on which code file they are
located in.
- Visual Studio Code
-
-
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 Group Issues menu opens.
-
Select Severity to group issues in the Code Issues panel based on their
severity. Select Location to group issues based on which code file they are
located in.