src/vs/workbench/contrib/comments/browser/commentsFilterOptions.ts/FilterOptions/constructor
class FilterOptions:	constructor(
		readonly filter: string,
		showResolved: boolean,
		showUnresolved: boolean,
	) {
		filter = filter.trim();
		this.showResolved = showResolved;
		this.showUnresolved = showUnresolved;

		const negate = filter.startsWith('!');
		this.textFilter = { text: (negate ? strings.ltrim(filter, '!') : filter).trim(), negate };
	}