{"version":"2.1.332","anchor":"grep-tool-context-line-handling-fix","canonical_anchor":"grep-tool-context-line-handling-fix","heading":"Grep's context lines option fixed when showing matching content","tier":"notice","area":"Grep Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/grep-tool-context-line-handling-fix","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Grep's context lines option fixed when showing matching content\n\nWhen Grep shows matching lines, the context lines option now reaches the search instead of being dropped\n\n**Unclear.** It is not certain the context option was actually being lost before, so this may not change Grep's results.\n\n**What**\n\nThe Grep tool searches files for text. When it is set to show the matching lines, you can ask for a number of context lines, the lines just before and after each match. The setting for that number was being added to the wrong list of search options. It is now added to the right one.\n\n**Why**\n\nAsking Grep for context around matches may now work where it did not before.\n\n- Area: Grep Tool\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}