Idea detail
refactor_symbol_rename
reqlan rq/extension/mutation/refactor_support.rq:44
block
done
Summary
Syntactic symbols ( ideas, ideasets, import aliases, and import paths ) should be
renamable via the editor rename action ( F2 / LSP rename ).
Rename should update AST references across. rq files and matching `rq:idea`
comment idea tokens in source files ( comment_reference_refactor_support ).
The Rust server renames open buffers, open comment buffers, and closed files reached via the ideas index.
Non- `.rq` comment rename stays on the host provider until Rust owns those buffers.
refactor_support
Implemented by session.rs, reqlan-rename-provider.ts, reqlan-comment-rename.ts, reqlan-name-provider.ts, and register-comment-rename-provider.ts.
Navigation
Attributes
| Key | Value |
|---|---|
| implementation | session.rs, analysis.rs |
| status | done |
| tests | session.rs:completion_rename_and_code_action, session.rs:attribute_catalog_completion_and_find_references, rename-provider.test.ts:rename updates declaration and wikilink references, rename-provider.test.ts:rename also updates rq comment idea tokens in the same document, comment-rename.test.ts:builds rename edits for matching comment idea tokens, linking.test.ts:rename finds all idea references including wikilinks |
Ancestor context
No ancestor chain recorded.
Outbound references
Inbound references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| references | refactor_changes | reqlan rq/extension/mutation/refactor_support.rq | refactor_symbol_rename |
| references | comment_reference_refactor_support | reqlan rq/extension/mutation/refactor_support.rq | refactor_symbol_rename |
Unresolved references
| Kind | Idea | Path | Snippet |
|---|---|---|---|
| None | |||
Local graph
Initialising graph…