Closed FrankHeimes closed 1 week ago
I implemented it. The syntax is "out of date" not("no resources are")
.
Thanks a lot! This is so helpful! Best, Frank
Von: Kirill Osenkov @.> Gesendet: Donnerstag, 20. Juni 2024 02:04 An: KirillOsenkov/MSBuildStructuredLog @.> Cc: Dr. Frank Heimes @.>; Author @.> Betreff: Re: [KirillOsenkov/MSBuildStructuredLog] [Suggestion] Allow to add negative searches to narrow down search results (Issue #788)
I implemented it. The syntax is "out of date" not("no resources are").
— Reply to this email directly, view it on GitHubhttps://github.com/KirillOsenkov/MSBuildStructuredLog/issues/788#issuecomment-2179592168, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AE4QCC7IXXEVRY4D3BNX353ZIIMAXAVCNFSM6AAAAABJOHLCDWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGU4TEMJWHA. You are receiving this because you authored the thread.Message ID: @.**@.>>
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:Source "Foo.h" is out of date.
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.