When using AI Assistant to review pull requests, it currently reviews all changed files including auto-generated files like:
pnpm-lock.yaml / package-lock.json / yarn.lock
EF Core migration snapshots (**/ApplicationContextModelSnapshot.cs)
EF Core migration Designer files (**/*Designer.cs)
Other generated code
This wastes AI tokens and produces unhelpful review comments on files that shouldn't be manually reviewed.
Proposed Solution
Add a configuration option (similar to "Code Analysis Setting" → "Analysis Files") that allows specifying file patterns to exclude from AI Assistant review.
Problem
When using AI Assistant to review pull requests, it currently reviews all changed files including auto-generated files like:
pnpm-lock.yaml/package-lock.json/yarn.lock**/ApplicationContextModelSnapshot.cs)**/*Designer.cs)This wastes AI tokens and produces unhelpful review comments on files that shouldn't be manually reviewed.
Proposed Solution
Add a configuration option (similar to "Code Analysis Setting" → "Analysis Files") that allows specifying file patterns to exclude from AI Assistant review.
Example patterns:
Expected Behavior
Files matching exclusion patterns should be skipped (not sent to the model provider at all) when AI Assistant reviews commits or pull requests.