# Fix issue where renaming a file would not update imports in related files if they are not open \(\#36681\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/697a39c2511469e49e8af1974618d552410b1c38)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 697a39c2511469e49e8af1974618d552410b1c38

Requested commit: 697a39c2511469e49e8af1974618d552410b1c38

Commit: 697a39c2511469e49e8af1974618d552410b1c38

Tree: 0c22a0c9ab5fa95dc7e2cd4e919abb7befd7bb80

Author: Smit Barmase

Committer: GitHub

## Message

```
Fix issue where renaming a file would not update imports in related files if they are not open (#36681)

Closes #34445

Now we open a multi-buffer consisting of buffers that have updated,
renamed file imports.

Only local is handled, for now.

Release Notes:

- Fixed an issue where renaming a file would not update imports in
related files if they are not already open.
```

## Parents

- [d9ea97ee9cf1bec19741c597e482aa35eef2f816](https://git.cafe/gitcafe/zed/commit/d9ea97ee9cf1bec19741c597e482aa35eef2f816?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/697a39c2511469e49e8af1974618d552410b1c38?format=markdown)
