KirillOsenkov/MSBuildStructuredLog

[Suggestion] Allow to add negative searches to narrow down search results

Closed this issue · 3 comments

The msbuild log keeps buring me in piles of search results.
Unless I know exactly the message I'm looking for, it's realy hard to find the interesting events.

For example, a search for "out of date" may yield these results:

  1. Source "Foo.h" is out of date.
  2. No resources are out of date with respect to their source files. Skipping resource generation.

Since only a few instances of message 1 but gazillions of messages 2 may appear, it's close to impossible to spot message 1.

Please add an explicit negation operators ("NOT" or !) that allows to narrow down search results by adding exclusion terms, e.g.
"out of date" NOT("No resources are") or "out of date" !("No resources are")

IMHO, this would make the search function so much more useful.

I implemented it. The syntax is "out of date" not("no resources are").