When vue.updateImportsOnFileMove.enabled is enabled and you update file name, it doesn't rename the imported component in . When you do rename action in ide, ide updates text in the editor, but it seems from the plugin we can only update text inside script plugins & interpolations (e.g. on code actions and so on, including that feature) and all changes in the template view should be done in the different language service. Maybe it is worth investigating ways (test simple component name update) via some different service (see https://github.com/zardoy/typescript-vscode-plugins/blob/58c444a10649b42bd2c5b3d2a7cb87df09b1b1c8/typescript/src/volarConfig.ts#L21) or create file in plugin and then read command in vscode extension since we can easily do text changes in vscode (fs backwards communication)
The Problem
When
vue.updateImportsOnFileMove.enabled
is enabled and you update file name, it doesn't rename the imported component in . When you do rename action in ide, ide updates text in the editor, but it seems from the plugin we can only update text inside script plugins & interpolations (e.g. on code actions and so on, including that feature) and all changes in the template view should be done in the different language service. Maybe it is worth investigating ways (test simple component name update) via some different service (see https://github.com/zardoy/typescript-vscode-plugins/blob/58c444a10649b42bd2c5b3d2a7cb87df09b1b1c8/typescript/src/volarConfig.ts#L21) or create file in plugin and then read command in vscode extension since we can easily do text changes in vscode (fs backwards communication)