How do I ignore "code issues" and get rid of the swiggly underlines?
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 807
- Avg merge
- 10h 12m
- Merged PRs (30d)
- 7
Description
## System details (run `AWS: About` and/or `Amazon Q: About`)
OS: Linux x64 6.8.0-1035-aws
Visual Studio Code extension host: 1.103.1
Amazon Q: 1.93.0
node: 22.17.0
## Question
I asked a question about my active file and Q started a "code review". How can I get ignore all these issues in the file and get rid of swiggly underlines? I want to go back to a state where the code review never happened. If I click **Ignore** on individual warnings, it adds `# amazonq-ignore-next-line` before the line and I do not want to pollute my code with these comments. **Ignore All** doesn't do what I expected it to do (ignore all issues in the file). Please see the screenshot below:
Related: the issues found by Q are complete nonsense. It complains about an "incomplete function" at an import statement.
Contributor guide
Research direction
Start by reproducing the issue in the Amazon Q VS Code extension with an active file and a code review, then inspect how Ignore and Ignore All affect the reported diagnostics. Verify whether the review can be fully dismissed without inserting amazonq-ignore-next-line comments. Done means the file’s squiggly underlines can be cleared or disabled as requested, without polluting the source.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100