Idea detail
wildcard_references_webview
reqlan rq/language/imports.rq:260
Summary
A click on the command document link for a wildcard_references target
runs `reqlan.openWildcardReference` and opens a dedicated **wildcard matches** webview
( beside the editor ) that lists:
- Stats: matching idea count, distinct file count, and @ status breakdown
- Requirements: each matching idea with name, status, path, and summary ( click opens the idea )
- Files: each matching file with idea count ( click opens the file )
Secondary action **Open in Search** seeds the activity-bar
search_pane_seed via `focusIdeaSearch` with:
- `query`: idea pattern with glob meta softened for fuzzy search ( `import_*` → `import` )
- `pathFilter`: the path glob as a hard AND filter ( idea_path_filter )
Payload builder: `buildWildcardMatchesPayload` filters the index catalog by idea glob + path filter.
Protocol for the matches panel is inline host ↔ webview ( `init` / `openIdea` / `openFile` / `openSearch` ).
The document-link target is the command URI. Go-to-definition does not open the panel.
Highlighting of the source reference must stay link-styled — see
syntax_highlighting and
wildcard_reference_highlighting.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | register-wildcard-reference-handling.ts, wildcard-matches-panel.ts, main.ts, wildcard-matches-payload.ts, idea-path-filter.ts, activity-bar-messages.ts, app.svelte.ts, package.json |
| status | done |
| tests | wildcard-reference-open-search.test.ts, wildcard-reference-open-search.test.ts:e2e: buildWildcardMatchesPayload lists stats, ideas, and files, wildcard-reference-open-search.test.ts:e2e: wildcardSearchSeed maps command args to focusIdeaSearch payload, wildcard-reference-open-search.test.ts:e2e: command args → seed → pathFilter gates search hits, wildcard-references.test.ts:e2e: tokenize → parse → resolve → document link → definition → command args, textmate-wildcard-highlight.test.ts, semantic-tokens-wildcard.test.ts |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | wildcard_reference_highlighting | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | wildcard_references_webview |
| references | reference_goto_definition_speed | reqlan rq/extension/language/syntax/features-syntax-highlighting.rq | wildcard_references_webview |
| references | search_pane_seed | reqlan rq/extension/local-context/activitybar-panels/search.rq | wildcard_references_webview |
| references | wildcard_references | reqlan rq/language/imports.rq | wildcard_references_webview |
| references | idea_path_filter | reqlan rq/language/imports.rq | wildcard_references_webview |
| references | wildcard_reference | reqlan rq/reference_types.rq | wildcard_references_webview |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…