Referenced by3
Labels3

Referencing ideas

IdeaStatusTagsSummaryKatz
comment_reference_language_blocklistdoneComment rq editor features ( goto, diagnostics, ignore actions ) apply to every language except a small blocklist. The blocklist is `reqlan` plus non-source editor buffers ( log, search-result, SCM input, git commit / rebase, github-issues ). The rust client syncs. rq files. The rust client syncs other files only when the text contains `rq:`. The rust client does not sync blocklisted languages. When a later edit adds `rq:`, the client sends the full text. When the text no longer contains `rq:`, the client stops the sync. TextMate resting underline injects into a wide `injectTo` scope list ( best-effort; goto still works without a matching grammar scope ). Related: [references_in_functional_code_comments], [comment_reference_resting_underline], ["../../../language/syntax.rq".comment_reference].0.154
editor_reference_activationdoneA file reference and an idea reference have no underline in the resting editor. The editor shows an underline when the user holds Ctrl and the pointer is on that reference. Ctrl + click follows the reference in the active editor. A target in the open file moves the cursor in that editor. A target in another file opens in the active editor group. The editor does not open a second copy of the current file. The editor does not open a browser page for a file or idea reference. Alt + Left is Go Back ( `workbench.action.navigateBack` ). Alt + Right is Go Forward ( `workbench.action.navigateForward` ). Those commands walk one editor stack for every language. A definition result is a location. The editor applies that location and records the jump. A later editor, such as a TypeScript file, stays on that stack between the reference and the target. Go Back returns to the previous entry. Go Forward walks those entries toward the newest one. The extension returns the location and leaves the caret move to the editor. Jumps that start in a comment-reference host use this same editor stack ( ["../comment-references/functional-code-comment-references.rq".comment_reference_navigate_back] ). Definition targets prefer an open workspace tab URI so Cursor does not open a detached file copy. The definition target range must move the caret ( not an empty 0: 0 – 0: 0 range ). A click that is already on the declaration name is not a JUMP. The TextMate scope is `meta.link.reqlan`. A `markup.underline` scope forces an underline in the resting editor. `.rq` file and idea references omit `markup.underline` — no resting underline. Comment `rq:[…]` sites add `markup.underline` via the comment injection grammar ( ["../comment-references/functional-code-comment-references.rq".comment_reference_resting_underline] ). A file document link is always underlined, and its `#L` URI opens another editor. The extension does not give the editor a file document link. Ctrl + hover uses the definition request. That request is [reference_goto_definition_speed]. The interactive underline is the lexer token under the cursor: the path string or the idea id from the parser. Definition returns `LocationLink.originSelectionRange` for that token so the editor does not invent a word from brackets or quotes. Path segment names inside a quoted path are not reference tokens. The host does not register a DefinitionProvider for other languages, and does not rescan open source files for this activation. When the engine is rust, the client syncs. rq files. The rust client syncs other files only when the text contains `rq:`. The rust client does not sync blocklisted languages. Definition navigates resolved `rq:[…]` sites ( ["../comment-references/functional-code-comment-references.rq".references_in_functional_code_comments], ["../comment-references/functional-code-comment-references.rq".comment_reference_language_blocklist] ). A web URL and a command link ( folder, wildcard ) stay document links. A click on a web URL opens that URL in the browser. Related: [reference_document_links], [non_web_reference_navigation], [reference_goto_definition_speed].0.232
avoid_full_list_all_ideasdonePrefer `fuzzySearch`, paged SQL, or catalog deltas over materialising every idea. The language server looks up one idea name with `ideas_named`, or a prefix with `idea_names_with_prefix`. It does not call `list_all_ideas` for completion, code actions, references, or rename. It does not keep a pushed name catalog in the host. SQLite answers those lookups. Avoid: - reference-search calling `listAllIdeas` when `fuzzySearch` pages suffice - wildcard / AI pickers holding the full catalog when a page walk or search hit list suffices - Ideas Summary `sendFullGraph` dumping all ideas and edges ( [graphical_graph] guidance ) - export attribute loads that pull every raw idea when the export scope is a file set - soft sync / batch index calling `list_all_ideas` once per file ( [sync_pass_idea_catalog] ) [index_cache_reuse] [consumers.extension_ui_consumers]0.053

Reference labels

"../../../../packages/extension/test/document-sync.test.ts:sends the full text when a later edit adds rq:", "../../../../packages/extension/test/document-sync.test.ts:syncs reqlan files and other files only when the text contains rq:", "../../packages/extension/test/document-sync.test.ts"