Skip to content

Commands in VSCode from volar's language service #188

@zardoy

Description

@zardoy

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

context.services = new Proxy(context.services, {
) or create file in plugin and then read command in vscode extension since we can easily do text changes in vscode (fs backwards communication)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    low-priorityNot in my personal plan/roadmap. Pr still welcome!

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions