reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint
Ideas/move_file

Idea detail

move_file

reqlan rq/extension/features-mutation-hooks.rq:30

block

Summary

if a file is moved, a prompt should be shown to the user to update any references in the file to the new path.
if multiple files are moved there should be only one prompt.
the trigger should only happen if the reqlan file has inbound or outbound references, or the non-reqlan file has inbound reqlan references.
" reqlan wants to make refactoring changes to your codebase. Do you approve? "
" yes ", " no ", " view changes "
See also refactor_file_moves.
Implemented by register-file-mutation-hooks.ts, show-mutation-approval.ts, and file-mutation-gate.ts.

Jump to outbound references

Jump to inbound references

Navigation

Source file

reqlan rq/extension/features-mutation-hooks.rq

features-mutation-hooks.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 paths when a file moves to a sibling directory, file-path-rewrite.test.ts:finds import and embedded paths in rq files, file-path-rewrite.test.ts:finds rq comment paths in code files

Browse all attributes

Ancestor context

No ancestor chain recorded.

Outbound references

KindIdeaPathSnippet
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/extension/src/mutation_hooks_module/show-mutation-approval.ts packages/extension/src/mutation_hooks_module/show-mutation-approval.ts show-mutation-approval.ts
file_reference ../../packages/language/test/file-path-rewrite.test.ts:finds import and embedded paths in rq files packages/language/test/file-path-rewrite.test.ts:finds import and embedded paths in rq files file-path-rewrite.test.ts:finds import and embedded paths in rq files
file_reference ../../packages/language/test/file-path-rewrite.test.ts:finds rq comment paths in code files packages/language/test/file-path-rewrite.test.ts:finds rq comment paths in code files file-path-rewrite.test.ts:finds rq comment paths in code files
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
None

Unresolved references

KindIdeaPathSnippet
references refactor_file_moves refactor_file_moves

Local graph

Initialising graph…