Protected ReadonlycontributionsProtected ReadonlymodeProtected ReadonlysearchProtectedmodeThe mode token present in the query, if any.
ProtectedorderedProtectedqueryTrue when the query contains the given token as a standalone word.
ProtectedqueryProtectedrewriteRebuilds the query, keeping the free-text remainder intact while swapping in the desired mode and type tokens. Tokens are emitted in a stable order (mode first, then types, then free text) so repeated toggles produce a tidy query.
ProtectedtoggleToggles a search-mode token. Modes are mutually exclusive in the view container, so a new selection replaces the previous mode token; re-selecting the active mode clears it.
ProtectedtoggleToggles whether the given type is included by the filter. Nothing ticked means "no filter" (all types shown); ticking a type adds its token so the results narrow to it, and ticking a second type widens the selection to both. Unticking the last type returns to "no filter".
Registers commands + menu items for the anchored "Filter" popup opened from the Extensions search bar. Both kinds of filter go through the search query:
searchToken(e.g.@mcp). The popup behaves as an "include this type" filter: with nothing ticked no type token is present and every contribution is shown; ticking a type narrows the results to it. Multiple types compose (@mcp @skills).@installed/@builtin/@recommendedtoken, which the view container interprets to switch widgets. Modes are mutually exclusive: clicking one replaces any previously selected mode.Both kinds compose freely in the query (e.g.
@installed @mcpshows only installed MCP servers), and clearing the query (Clear Search Results) automatically resets both.