{"version":"2.1.311","anchor":"ignore-file-handling-negation-patterns-now-produce-re-inclu","canonical_anchor":"ignore-file-handling-negation-patterns-now-produce-re-inclu","heading":"! patterns in ignore files now bring files back into file suggestions","tier":"notice","area":"File Suggestions","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311\/e\/ignore-file-handling-negation-patterns-now-produce-re-inclu","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.311","markdown":"### `!` patterns in ignore files now bring files back into file suggestions\n\nA `!` pattern in an ignore file now re-includes matching files in @ file suggestions instead of being treated as a plain ignore\n\n**What**\n\nAn ignore file lists file patterns to leave out. A pattern starting with `!` is a negation: it brings back files an earlier pattern left out. When Claude Code builds its list of files for suggestions, it now reads these `!` patterns and uses them to put the matching files back. Before, every pattern was simply added to the set of ignored files.\n\n**Why**\n\nThe files offered when you type `@` to mention a file can change: files you re-included with `!` can now appear.\n\n- Area: File Suggestions\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}