# lsp: Open updated imports in multibuffer after file rename \(\#45110\) · gitcafe/zed

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

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

Visibility: public

Requested revision: c186877ff740c41a225c268f9c0bd47496d2acb2

Requested commit: c186877ff740c41a225c268f9c0bd47496d2acb2

Commit: c186877ff740c41a225c268f9c0bd47496d2acb2

Tree: 026e876a98d94059566d42abfb37378a8a57651c

Author: Gaauwe Rombouts

Committer: GitHub

## Message

```
lsp: Open updated imports in multibuffer after file rename (#45110)

Fixes an issue where we would update the imports after a file rename in
TypeScript, but those changes wouldn't surface anywhere until those
buffers were manually opened
(https://github.com/zed-industries/zed/issues/35930#issuecomment-3366852945).
In https://github.com/zed-industries/zed/pull/36681 we already added
support for opening a multibuffer with edits, but vtsls has a different
flow for renames.

Release Notes:

- Files with updated imports now open in a multibuffer when renaming or
moving TypeScript or JavaScript files
```

## Parents

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

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