reqlanOverviewIdeasFilesCode filesClustersAttributesGraphPrint

Printable idea sheet

move_file

reqlan rq/extension/mutation/mutation-hooks.rq:36

Katz 0.083

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.

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

Interactive page: move_file