reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/refactor_file_moves

Idea detail

refactor_file_moves

reqlan rq/extension/refactor_support.rq:14

block

Summary

The extension should watch for file moves and renames, migrate the index for moved
. rq files, and update imports and path references both inside the moved file ( outbound )
and in other files that pointed at it ( inbound ), including comment paths in code files.
There should be a single prompt per batch asking whether to apply path updates,
aligned with move_file and rename_file.
Implemented by register-file-mutation-hooks.ts, file-move-plan.ts, file-mutation-gate.ts, file-path-rewrite.ts, and reqlan-path-references.ts.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/refactor_support.rq

community 31

community cluster

refactor_support.rq

file cluster

reqlan rq/extension

folder cluster

status: Not present

status cluster

tag: Not present

tag cluster

Printable page

Static print-friendly idea sheet.

Attributes

KeyValue
tests file-path-rewrite.test.ts:updates inbound import path when the target file moves, file-path-rewrite.test.ts:preserves extensionless inbound paths, file-path-rewrite.test.ts:buildInboundPathRewriteEdits quotes replacement paths, file-path-rewrite.test.ts:updates paths when a file moves to a sibling directory

Browse all attributes

Ancestor context

No ancestor chain recorded.

Outbound references

KindIdeaPathSnippet
file_reference ../../packages/extension/src/mutation_hooks_module/file-move-plan.ts packages/extension/src/mutation_hooks_module/file-move-plan.ts file-move-plan.ts
file_reference ../../packages/extension/src/mutation_hooks_module/file-mutation-gate.ts packages/extension/src/mutation_hooks_module/file-mutation-gate.ts file-mutation-gate.ts
file_reference ../../packages/extension/src/mutation_hooks_module/register-file-mutation-hooks.ts packages/extension/src/mutation_hooks_module/register-file-mutation-hooks.ts register-file-mutation-hooks.ts
file_reference ../../packages/language/src/file-path-rewrite.ts packages/language/src/file-path-rewrite.ts file-path-rewrite.ts
file_reference ../../packages/language/src/reqlan-path-references.ts packages/language/src/reqlan-path-references.ts reqlan-path-references.ts
file_reference ../../packages/language/test/file-path-rewrite.test.ts:buildInboundPathRewriteEdits quotes replacement paths packages/language/test/file-path-rewrite.test.ts:buildInboundPathRewriteEdits quotes replacement paths file-path-rewrite.test.ts:buildInboundPathRewriteEdits quotes replacement paths
file_reference ../../packages/language/test/file-path-rewrite.test.ts:preserves extensionless inbound paths packages/language/test/file-path-rewrite.test.ts:preserves extensionless inbound paths file-path-rewrite.test.ts:preserves extensionless inbound paths
file_reference ../../packages/language/test/file-path-rewrite.test.ts:updates inbound import path when the target file moves packages/language/test/file-path-rewrite.test.ts:updates inbound import path when the target file moves file-path-rewrite.test.ts:updates inbound import path when the target file moves
file_reference ../../packages/language/test/file-path-rewrite.test.ts:updates paths when a file moves to a sibling directory packages/language/test/file-path-rewrite.test.ts:updates paths when a file moves to a sibling directory file-path-rewrite.test.ts:updates paths when a file moves to a sibling directory

Inbound references

KindIdeaPathSnippet
references refactor_changes reqlan rq/extension/refactor_support.rq refactor_file_moves

Unresolved references

KindIdeaPathSnippet
references move_file move_file
references rename_file rename_file

Local graph

Initialising graph…