Skip to content

fix(vscode): keep Flyde imports valid when files move - #283

Open
adnandispatch9-jpg wants to merge 1 commit into
flydelabs:mainfrom
adnandispatch9-jpg:fix/112-update-imports-on-move
Open

adnandispatch9-jpg wants to merge 1 commit into
flydelabs:mainfrom
adnandispatch9-jpg:fix/112-update-imports-on-move

Conversation

@adnandispatch9-jpg

Copy link
Copy Markdown

Fixes #112\n\n### What changed\n- listen for VS Code file rename events for .flyde files\n- resolve existing file-based imports against the importing flow's directory\n- rewrite only imports that pointed at the moved file, preserving relative paths\n- add focused regression tests for matching and non-matching imports\n\n### Validation\n- pnpm --filter @flyde/loader test — 18 passing, 2 pending\n- pnpm --filter flyde-vscode compile — passed\n- focused rename regression spec — 2 passing\n- git diff --check — clean

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Broken imports after moving files

1 participant