Repository navigation
fix(vscode): preserve flow file sources across Explorer moves - #294
Open
2022117144 wants to merge 1 commit into
Open
2022117144 wants to merge 1 commit into
2022117144 wants to merge 1 commit into
Conversation
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Moving a referenced
.flydefile in Explorer currently leaves the parent's file source pointing to its old location. This addsonWillRenameFileshandling for the current file-source format, including rebasing outgoing paths when a parent flow moves. Text edits join VS Code's rename operation and preserve YAML comments and dirty document content.The change covers individual and folder moves, simultaneous swaps, nested inline nodes, and absolute references. Package sources are left unchanged; unreadable/invalid flows produce a warning. External shell/Git renames and legacy
importsmigration are outside this patch.Validation:
vscode/docs/file-moves.md.Short MP4 demo walkthrough — an animation of the recorded test cases, not a screen recording of the full Flyde UI.
AI-assisted contribution. No credentials or private backend configuration are included.
/claim #112